hi guys, could you please prepare script for given format ?
1,1,2,3,5,8,13,21,...etc use vbscript for this...?
Answers were Sorted based on User's Feedback
Answer / phani daddanala
dim a, b, c
a=1
b=1
c=a+b
print a
print b
print c
while c<=100
print c
a=b
b=c
c=a+b
wend
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / madhumita baitalik
Sub Fibonacci()
a = 0
b = 1
For i = 1 To 10
c = a + b
a = b
b = c
msg1 = msg1 & "," & b
Next
Msg = "The string is 1" & msg1
MsgBox Msg
End Sub
| Is This Answer Correct ? | 3 Yes | 3 No |
New to QTP: In a qtp flight booking application, I tried to parameterize the to and from drop down lists using data table, depending on ur drop down selection it will pop up a list of flights. Here I am not finding a way to select flight randomly from given list... Thanks in advance guys.
What is Modular framework and Keyword drive framework? Explain
write string reverse prog using vb script with out using string reverse statement();
What is the process of synchronizing qtp and aut?
Where you get the run time data table?
Write a Script With descriptive programming(Without Repository) to update an Update an order in Flight App and verify whether it is done successfully.(Use ChildObjects method)
the question was on what techonlogy u been working on i said VB then he asked me the addin for VB in Qtp?
How to Test the mainframe application?(tell me few basic things)
Explain qtp(quick test professional)?
How to record a qtp script ?
how do you remove object repository at runtime and load object repository and verify it
Does quicktest professional is unicode compatible?