Menu

#41 selected control incorrect for edit controls

open
nobody
None
5
2010-06-22
2010-06-22
Anonymous
No

If I use the control locator for an edit control (but possibly also for readonly edit fields). I get a string like below:
Desktop.UIA[@"SE-PROBE Log in", @"#32770", @"UIAWindow"][@"Administrator", @"Edit", @"1326"]

Herin "Administrator" is the text in the edit box. This now does not work for the click mouse event when the text in this edit box is not "Administrator". If I want to check the content I will use "Read Text From Control", for the control to click, the content should be left out, because the last id is unique still for the dialog, its the button id, 1326 in this case.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.