| || |
Thank you Jerry. I have another doubt. If I want to change the window lable completly can I
"!*.*" use like this.
The sytnax is correct, but you will have probably encounter other problems.
In short (The WR training section on GUI Map is a couple of hours):
The GUI Map must have uniquely identifiable properties for each object. If you wildcard the entire lable, make sure there other properties in the window definition that uniquely distinguish one window from the others? If there are, then you may also consider changing the properties that are learned for the window to exclude the label. Look at GUI Map Configuration.
On Record: WR will search the GUI Map to find the physical properties to obtain the Logical names. WR will select the first object that matches the physical properties, and insert that logical name into your scripts. (You can encounter the problem of all recorded lines of script referring to the same window if they are not uniquely identifed.)
On Playback: WR takes the logical name in the script and reads the physical properites stored in the GUI Map and then performs the actions on the application object matching those properties. (You can encounter objects not found types of errors if the wrong window is open.)