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
This Is Sekar, Can Any One Of You Help Me? Question: How To Draw Charts In Excel Sheet Using Winrunner Scripts. Thanks, Sekar.
What is test parameter
What is the purpose of gui spy?
How to to get the information from the status bar without doing any activity/click on the hyperlink?
When would you use 'set_window' and when would you use 'win_activate'?
what is the difference between toggle checkpoint and checkpoint?
Have you ever created a start-up script?
What is the use of gui map?
by useing qtp where the maximum people feeling difficult
Explain the purpose of gui spy?
How do you handle tsl exceptions?
Have you used winrunner in your project?
Where do you found that you can't use winrunner for automation?
Dear all i am new to testing my company using vb.net and we are developing web based application. How i can test those application with winrunner if any one have some good tutorial or link kindly provide thanks u.
What do you verify with the database check point custom and what command it generates, explain syntax?