difference between do while and do until ?

Answer Posted / bhargavi

In both Do-until and Do-While,Code will be executed atleast once.
But,the difference is Do-until executes the code until the specified condition is reached.Once the condition is reached it stops executing the code inside the loop.

Do-While will execute the code till the specified condition is true. once the condition becomes false,it exits from loop.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com

1420


How you can replace string in qtp?

574


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

1581


when a test case is written how u test using qtp

1655


what kind of frame work you used in your last project?

1823






The hybrid framework can be implemented for any application. Is it true?

591


How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)

1734


Difference between test object and run time object?

596


Differences between text and test area checkpoints?

586


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

3601


What is CMMP and CMMH?

702


what type of automation is follwed in the project?

1489


what is the diffrence bw qtp architectute and qtp framework?

1544


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

1519


How many add-ins comes by default with qtp?

547