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 ? | 3 Yes | 0 No |
Post New Answer View All Answers
what is the use of generate script that is avaliable 3 places(file settings, tools, object identification)
Name the different modes of recording?
What actually happens when you load GUI map?
How do you identify which files are loaded in the gui map?
How can withwin runner to make single scripts which supports multiple languages?
When it is appropriate to change physical description?
What is tsl? What 4gl is it similar too?
What is boundary test?
what is the difference between toggle checkpoint and checkpoint?
This Is Sekar, Can Any One Of You Help Me? Question: How To Draw Charts In Excel Sheet Using Winrunner Scripts. Thanks, Sekar.
How enviornment veriable can be included into my script. I want to include some information into my Excel file using Test run in WR. like User name of system? waht is function to be used? Please clarify.....
Explain the winrunner testing process?
How to break infinite loop?
What is the XML test cases creation?
What is the purpose of set_window command?