Am I missing something? Can't you just do?
Code: Select all
Validate.Exists("./form//label[@id~'.*complete$']",60000 * 45);
Code: Select all
Validate.Exists("./form//label[@id~'.*complete$']",60000 * 45);
Code: Select all
Validate.Exists("rxpath", "Validating", false);
Code: Select all
Button b = "/button[@text='Start']";
b.Click();
Code: Select all
b.Click(Location.CenterRight);
Code: Select all
Button b = "/button[@text='Start']";
DoSomething(b);
public static void DoSomething(Adapter a){
a.Click();
}