when you use For Loop, While..do, do..while? at what
situations which loop will use.

Answer Posted / satyanj

"For" loop can be used when the range of the iteration is
known. For ex: For i = 1 to 100....
"While..do" or "do..While" can be used when, the scenario
should satisfy the condition.
For Ex: While (<Condition>)...

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to open browser in vb script?

577


Explain the functionality of vbscript?

532


Explain vbscript in detail?

613


Can automation testing find ssame no. of bugs what we can find by manual testing?

1458


what do you mean .ota mobile format

1932






What is the difference between do until loop and do while loop?

532


Explain about .wsf files?

614


How will you get the exponent of the given number in vbscript?

546


Write a code to print numbers from 5 to 0?

673


How regexp.execute method works?

582


Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...

1647


Explain the operator precedence in vb script?

646


Write a Script for ATM in QTP

3329


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

1564


How will you convert a string to lower case string using vbscript?

549