by Ciege » Wed Jul 01, 2009 11:58 pm
I think the compiler is getting confused as to what Button to use (the System.Windows.Forms.Button or the Ranorex.Button).
Easiest way around this is to change your code (not your using statement) to:
- Code: Select all
Ranorex.Button save = cmsForm.FindSingle(".//button[@accessiblename='Save']");
I have actually made it a habit to prefix all Ranorex controls with Ranorex.* just so anyone in the future reading my code will have no ambiguities about what control I am referencing.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...