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 can we do the frame work in qtp

1608


What is Curd testing?

1886


how many maximum number of virtual users we can create?

1578


www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example

1733


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

625






How the exception handling can be done using quicktest professional (qtp)?

577


What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz

1488


How did you resolve conflicts present in Object Repository?

1622


How many types of object repository in qtp?

612


What is a data driven test in qtp?

595


How do know the number of browsers opened?

632


What is post recovery scenario?

1657


How to find the length of the string in qtp?

585


How to run a test using quicktest professional?

538


What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);

3499