It is mostly going OK, but I have an IOSPicker field which is causing me grief.
If I make my selection manually, it works fine.
If I do it in the automation, you can see the selection being made, and the Done button clicked, but the field reverts to a different value to that selected.
This is some code that does the selection. It is based on recordings.
Code: Select all
if(repo.RichardPullinIPad.DeliveryInfo.Exists (1000))
{
Report.Log(ReportLevel.Info, "Invoke Action", "Invoking Select() on item 'RichardPullinIPad.Delivery'.", repo.RichardPullinIPad.DeliveryInfo);
repo.RichardPullinIPad.Delivery.Select();
}
else
{
if(repo.RichardPullinIPad.Delivery1Info.Exists (1000))
{
Report.Log(ReportLevel.Info, "Invoke Action", "Invoking Select() on item 'RichardPullinIPad.Delivery1'.", repo.RichardPullinIPad.Delivery1Info);
repo.RichardPullinIPad.Delivery1.Select();
}
}
It doesn't do this when I use .Select()