Maybe what I am trying to accomplish would make more sense if I explain what I am trying to do.
I am trying to use AA to perform a tab order verification test for a Window's based application. Each form has specific data in each field and as the AA task tabs through the form it checks each fields data against what should be there if the tab order is correct. In the case it is incorrect it makes a note in the log.
The problem is, if the field it tabbed to is incorrect how can I force the cursor to go to the field it should have tabbed to?
Example:
Form should tab from fields A, to B, to C, to D.
Form tabs correctly from A to B, but then lands from B on to D instead of C. I log this as a defect, but I need the focus to be on field C so I can continue testing if C tabs to D. Is there anyway I can do this without using mouse commands?
Thanks,
Jason
|