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 |
WHICH PROCESS U FOLLOW IN COMPANY
HI How to take screenshots of a Webpage and saving it in a external word document using QTP.
Hi all , I am new at QTP I want a sample script to check validation messages(For java script or VB script) for login page with for web based application.. Any one can Help. I have to complete it in two days I need urgent help.. Ex. if I want to check mail.yahoo.com 1 > If user doed not exist it display "Username does not exist" 2> if invalid Uname and password then it display" Invalid Uname or pass" 3> Loing Sucssessfully. I want to check this types of application by using data table to give values of username and password.. Thanks
Test script is generated and it is enhanced.It is required to be saved.But the disk space is insufficient.You are not permitted to delete any scripts.How are you going to save?
Why is action split used by qtp?
what is the process to follow between writing the test cases & then atomating it?
How to use the Object spy in QTP 8.0 version?
How we can add actions in the test using QTP?
Can any one send me the QTP Basic Coding Samples?
write code to read and write data from file?
What is the DIFF Between PROJECT AND PRODUCT?When Company will need Product?
OR is full with objects but i want to add 5 more objects,but i tried merging files,shared mode and descriptive ,iwont work.is there any alternative for that