What is difference between the For..Next and While..Wend
statements?

Answers were Sorted based on User's Feedback



What is difference between the For..Next and While..Wend statements?..

Answer / minal

For loop executes a block of code for a fixed no. of time where as While...Wend statement uses a condition to control the number of iterations to be run.
The loop continues as long as the condition expression is True.

Is This Answer Correct ?    54 Yes 19 No

What is difference between the For..Next and While..Wend statements?..

Answer / durrya saman

The while loop is usually used when you need to repeat something until a given condition is true. On the other hand, the for loop is usually used when you need to iterate a given number of times

Is This Answer Correct ?    17 Yes 3 No

Post New Answer

More QTP Interview Questions

what is the main process in QTP?

3 Answers   Ordain Solutions,


difference Between Call Run action and copy of action?

1 Answers  


How can you identify the browser and its information using the qtp script?

0 Answers  


Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

0 Answers   TCS,


how do u handle an object with out name in our application using QTP 9.2?

0 Answers   CTS,






How can i get QTP 9.2 software or any webside where i can download ? can anyone help me out , i want to be expert in QTP ,but i don't have the software

3 Answers  


Limitations in QTP?

0 Answers   CIL,


is it possible to add sheets to excel at runtime

1 Answers  


What is the registration process and examination fees?

0 Answers  


How to capture the tooltip of webelement,if there are two values displayed in tooltip of webelement?

1 Answers  


In where you are keeping or maintaining shared object repository (file)in your appliction?

2 Answers   Inlogic,


What is the Test Object model in QTP?

3 Answers  


Categories