WinRunner Question:

How to break infinite loop

Tweet Share WhatsApp

Answer:

set_window("Browser Main Window",1);
text="";
start = get_time();
while(text!="Done")
{
statusbar_get_text("Status Bar",0,text);
now = get_time();
if ( (now-start) == 60 )
# Specify no of seconds after which you want
break
{
break;
}
}

Download WinRunner PDF Read All 67 WinRunner Questions
Previous QuestionNext Question
Text Field ValidationsUser-defined function that would write to the Print-log as well as write to a file