I added some user code to the module, to WaitFor this text to dissappear, with a time out value of 30 seconds.
When I run it, it just returns OK.
Surely this is incorrect. The message still sits on the screen - it hasn't gone away.
Code: Select all
try
{
Report.Log(ReportLevel.Info, "Wait", "Waiting 30s for item 'Android365Agile.N365AgileAndroidApplication.SendingRequestPleaseWait' to not exist.", repo.Android365Agile.N365AgileAndroidApplication.SendingRequestPleaseWaitInfo, new ActionTimeout(30000));
repo.Android365Agile.N365AgileAndroidApplication.SendingRequestPleaseWaitInfo.WaitForNotExists(30000);
}
catch(RanorexException re)
{
Report.Failure("Ranorex Exception: "+re.ToString());
}