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 ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the Win Runner tools for functional testing?
How to to get the information from the status bar without doing any activity/click on the hyperlink?
Explain the synchronization points?
What is the purpose of different record methods?
i this is priya speaking, any 1 tell me project detail for NETBANKING and HELTHCARE pls send to this E-MAIL ADDRESS; (priyadharshni2@yahoo.com)pls qik, thank u once agajn.
How do you make the configuration and mappings permanent?
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.....
you hae a inbox and got a mail how can you know it is there or not write script.
Are there any suitable free tools to conduct performance test on a php web application?Manual or automation which is preferable for such kind of application? please answer ASAP
What in contained in the GUI map?
Which function to use to compare the application date with system date?
What Framework is suitable to validate the Login screen.
What is tsl? What 4gl is it similar too?
what is the testing high level architecture
Explain the use of test director software?