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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how

1589


How to find the difference between 2 dates in qtp?

683


Can the user toggle between using Local OR and shared OR for the same action?

645


Explain measuring transaction.

680


What is action split and the purpose of using this in qtp?

623






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

2166


please give me the code for doing retesting of gmail login page using functions so the function has to give the value

1632


What is the difference between keyword view and expert view?

704


Explain the benefits of quick test pro(qtp)?

649


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

1972


How can we conduct U-I Testing by using QTP??????

1522


Describe how Smart Identification is used

1776


Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?

2421


I want to do QTP Certification what is the pattern of Question paper.

1833


wht type of User defined functions or Java Releated functions do we write in VB scripting

1931