difference between do while and do until ?

Answer Posted / sarabjit

In do until , the code is run atleast once
eg: do
{
/// statement
} until i=0

whereas in while it checks whether condition is false/true , and then it executes the statement
while i=0 ******if i=0 is true*****
{
execute the statement
}

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1272


what testplan contents and what test strategy contents,what is the diff b/w them

1639


Is any limitation to xml checkpoints?

551


What is the new version of qtp which is recently released in the market?

635


In qtp is it possible to check broken links of a page?

573






How to check bitmap output value?

621


Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.

1477


In qtp, how you can exit for loop?

519


What are output values and why they are used ?

618


What is the expert view?

545


Is QTP supports Unix. If yes, then how the test automation is done?

1718


What is post recovery scenario?

1639


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

1482


How to import a test case present in ".xls" file to TD under a Test set?

733


Explain runtime dynamic settings?

2016