By class for element location
Posted: Tue Jul 02, 2013 1:49 pm
Hello.
I was wondering if anyone has wrapped the Find methods to have something similar to the By class in selenium. e.g.
Form.Find<Ranorex.Text>(By.Id("105"))
Form.Find<Ranorex.Button>(By.Text("OK"))
where say:
By.Id("105") expands to xpath string descendant::element[@id="105"]
Cheers.
I was wondering if anyone has wrapped the Find methods to have something similar to the By class in selenium. e.g.
Form.Find<Ranorex.Text>(By.Id("105"))
Form.Find<Ranorex.Button>(By.Text("OK"))
where say:
By.Id("105") expands to xpath string descendant::element[@id="105"]
Cheers.