Forum Discussion
NisHera
11 years agoValued Contributor
I think best solution is to use For loop
withing that use your do while
eg
for(i=0;i<10;i++){
Do while (dialog.exist )
//use minimum wait time
Loop
if (!dialog.exist) {
return
}
}