This is not happening. It waits a lot longer than 20 seconds.
When I put a stopwatch in, it took 138869 ms to fail.
Am I missing something?
Code: Select all
Report.Info("Date of Birth.","Checking for 'Done' button. If not found, Fail test.");
Duration searchTimeout = new Duration (20000); //Timeout in ms
repo.IOS365Agile.Com365agileEnterprise365AgileTEST.Root.DoneInfo.SearchTimeout = searchTimeout ;
bool Found=repo.IOS365Agile.Com365agileEnterprise365AgileTEST.Root.DoneInfo .Exists ();
if(Found)
{
Report .Info ("Info","'Done' button found.");
repo.IOS365Agile.Com365agileEnterprise365AgileTEST.Root.Done.Touch();
}
else
{
Report.Failure ("Fail","IOS Form Date of Birth field. Done button not found.");
}