here's my problem.
We are using ranorex validating a web site. We have a DIV "Please Wait" that always "exists" and appear/disappears relating to the value of his "Visible" property.
This "Please Wait" pop up verytime system is loading data, store data on db. Its duration depends on lots of parameters so we cannot use statical delay.
We found a way to make this efficient.
Code: Select all
public void WaitLoading()
{
Validate.Exists(repo.WebDocumentIE.PleaseWaitDIV,"",false);
bool a = repo.WebDocumentIE.PleaseWaitDIV.Visible;
int i=0;
while (a)
{
a = repo.WebDocumentIE.PleaseWaitDIV.Visible;
}
}
thx a lot in advance for help
Andrea