obj_mouse_click logical name changes
I would like to automate the GUI testing of our application, however, the 'logical name'for the object in obj_mouse_click changes every time the application opens. Any suggestions on getting through this would be greatly appreciated.
Re: obj_mouse_click logical name changes
There are a few solutions to this.
The easiest and best solution would be to edit the GUI Map. Go into the GUI Map Editor and find one of the objects that keeps changing. (You can use the Find button to help locate one of them).
(1) Logical Name - When you find the object you might first want to change the "Logical Name" to something more descriptive and more general if this also probably keeps on changing. For example if it is "Cancel_1" just call it "Cancel".
(2) Physical Description - Then you probably want to add an expression to the name in the Physical Description which is a common item to keep changing. Find part of the name that is consistent, keep that part, add an expression to the part that keeps changing. For example if there are several buttons called "web_cancel_123" and "web_cancel_234". You would do this "!web_cancel.*"
Here is a sample of the final Physical Description:
If you still have problems, copy and paste the GUI Map Physical description here as well as provide a public link.
Hope this helps.