ApplicationWindow search

Jun 2, 2008 at 10:42 AM
Hi,

Is it possible to get an array of controls from within the Application Window? We have a text entry window we wish to manipulate containing a number of textBox fields, and to ensure the test still works when new fields are added we would like to search the Window for controls of a certain type, loop through and check / set  their state. E.g. a test which loops through and tests that a new form contains empty fields.

At present it only seem possible to use the Get methods to access controls in a window, which only return a single result and rely on knowing about the field you are getting.

Many thanks

Dave
Coordinator
Jun 3, 2008 at 6:04 AM
Please have a look at this issue. I think this would help you.
http://www.codeplex.com/white/WorkItem/View.aspx?WorkItemId=2201
Let me know if you need more help