Using the WinRunner Tool What that Regular Expression Scripts
Answer Posted / sujeet r.
Regular expression
When the winrunner script refers to a window whose title
changes dynmically (for eg. the scri[t contains a statement
Setwindow ("Order Form No. 265")
Lets say when the script was recorded, at that time the
title window was Order Form No. 265
The next time when the script is run, the title changes to
Order Form No. 266 then the script is going to error out
saying that it could not find the window.
In such a case you can use Regular expression.
Click Tools->GUI Map Editor and then in the properties of
that object in the logical name type
#Order Form No.*
Simply enclose the title in # and .*
This will not update the script though
So whenevr the title of the window changes dynamically,
winrunner will not give an error that the window could not
be found.
P.S. : Any inputs are welcome
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
When it is appropriate to change physical description?
What is a checkpoint and what are different types of checkpoints?
How do you unload the GUI map?
What is the purpose of a gui spy?
descriptive program for web application.
What different actions are performed by find and show button?
can i get apex technologies interview questions in testing
What are the platforms that WinRunner can be used?
When do you feel you need to modify the logical name?
What actually happens when you load GUI map?
write a compilemodule function for loginscreen.
Define parameterizing?
What is the purpose of regexp_msw_class property?
global sheet and external excel sheet how it will work
How do u check FONTS in Login Window?