What is exact difference between “while” and “do while” in
QTP ?
Answer / rico
The basic difference is in the time of checking the
condition during execution of loop. In while loop the
condition is checked at the start, if it is true then
statements enclosed in the loop structure are executed ,
otherwise the loop exits and control transfers to the
statements following this loop and this process continues
until the condition becomes false.
As:
While (condition)
{
statement1;
statement2;
.
.
}
Statements following the loop
But in the case of do-while loop condition is checked at
the end of structure (i.e., at least one time the
statements enclosed in this loop structure are executed
before checking the condition)
After executing the loop statements at least once, the loop
condition is checked; if it is true then the loop body is
executed again otherwise loop exits. As:
Do
{
statement1;
statement2;
.
.
}
While (condition)
Statements following the loop
| Is This Answer Correct ? | 18 Yes | 1 No |
How to analyzing Test Results using QTP?
can i compare two databases using QTP ?
What are the different recording modes?
Hi, I Would Like to Know which is the Best QTP Certification Training Institute in Hyd? Thanks in Advance kishan
what is selective recording ? and normal recording?
Which method do you use to retrieve data from the WebList object?
i am trying to capture the URL from the open browser and store it. pls give me solution how we can do this in QTP. thanks
How to import the Test Results in QTP to an Excel sheet
Hi All, I'm Akshaya here, could anybody please help me regarding how to import the excel sheet to run time datatable. But Pl. keep it in your knowledge is that excel sheet is opened. Thanks, Akshaya Madali 9823213538
what is the difference between link and hyperlink?
how you update scripts in qtp?
hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com