How can I parameter window\'s logical name
I record a window,it's logical name is "window" in GUI map
but when I replay the script, the window's logical name become "window_1", winrunner can not find it.
if the object's description change, I can use "!XX.*" to find it. but it is no use for the change of logical name.
Re: How can I parameter window\'s logical name
Logical names is nothing that can or should be parameterized in GUI map. It is only a placeholder that is linked to the physical description of the object via GUI map.
You should check the following:
- In GUI Map Configuration check if an attribute is listed for windows, that does not physically exist, and change the configuration if needed.
- Is an Add-In needed for the application you like to test? (ask Mercury)
- Are there multiple Windows with the same label open during recording? (change GUI Map Configuration for this class or add another unique attribute to GUI Map)
- Is the value of a phys. attr. that is saved in GUI Map dynamic ? (use regular expression in GUI Map or replace the attr. by a static one)