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
How to do text matching?
What are the modes of script recording in winrunner ?
What is toogle breakpoints? How does it differ from break points?
How to check the background colour of the screen in WR?
Explain the purpose of gui spy?
What actually happens when you load GUI map?
How do you modify the logical name or the physical description of the objects in gui map?
Explain the synchronization points?
How do you find an object in an gui map.
What are the different modes of recording in winrunner?
global sheet and external excel sheet how it will work
What are the Win Runner tools for functional testing?
How to force wr to learn the sub-items on a menu?
Which function to use to compare the application date with system date?
Can anybody Explain me about the liasing with the developers,and a tester can make a test plan well?plz explain me as soon as possible ,thanx in advance.