Difference between Do while loop and while wend loop
Answer / remya
The difference between do while and while wend loop .
Do while executes if the condition is true
While wend executes atleast once irrespective of conditions.
Ex:
Do while
Dim x
x=1
Do While x<5
document.write("Welcome.")
x=x+1
Loop
While wend:
Dim x
x=7
Do
document.write("Welcome.")
x=x+1
Loop While x<5
Is This Answer Correct ? | 7 Yes | 7 No |
Hi all..I have two values. a=20 ,b=30 I want to perform c= a+b and c= a*b using user define function.please anyone give the answer
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
What is the purpose of on error resume next statement?
What if you do not specify anything when you call a procedure?
How are values assigned to string type and numeric type variables?
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
Write VB script to convert from feet to inches(hint 1feet=12 inches)
Mention what is vbscript?
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?
What are class properties?
Write a code to print numbers from 5 to 0?
What are the valid scopes of a variable in vbscript?