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



hi guys, could you please prepare script for given format ? 1,1,2,3,5,8,13,21,...etc use vbscript f..

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

hi guys, could you please prepare script for given format ? 1,1,2,3,5,8,13,21,...etc use vbscript f..

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

Post New Answer

More QTP Interview Questions

How can you quit from Action.

2 Answers  


How can I pass values from one action to another in QTP ?

8 Answers   Ordain Solutions,


Hi! Using Descriptive Programming How do we get Parent object for an object. Say, i want to get a parent object for a "Link" in a web page. thanks

3 Answers  


How to face prjoect manager round what type of questions they will Ask ? (Chandana)

1 Answers   Call Centre, Convergys, IBM,


In application have 2 list box oppsite list box two edit box is there.so now through using DP how can we select 3 opption in first list box and 2box semect 4 opption.in edit box also we have to write 25 ,28.how can we do this

1 Answers  






what is a good testcase?

3 Answers   Wipro,


dears, I have one question for QTP.If my software is english and defined objects is english name. But, if my software has support MUI, under this case that my objects in the QTP can't work, because the QTP can't catch the objects name. In this case, is anybody know how to solve this problem? Thanks a lot.

2 Answers   CyberLink,


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

0 Answers  


.how will you load the object during runtime

2 Answers   TCS,


what is the difference between action and function

11 Answers   AppLabs, BirlaSoft, Infosys,


Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT

0 Answers   Cognizant,


anybody wants to learn QTP with realtime implementations and complete framwork contact to this mail id ciraaj@gmail.com

1 Answers  


Categories