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
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.
What is tsl? What 4gl is it similar too?
What is boundary test?
Hiiiiiiiii This is lavanya.....At present i m working as a MATLAB developer at CMC(A tata enterprise)from about1 year .now i want to move to testing field as a fresher?Is this possible...can anyone give me a suggestion regarding d testing field.....
Explain the purpose of loading winrunner add-ins?
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.
Explain the winrunner testing process?
What are the reasons that winrunner fails to identify gui object?
What are the modes of script recording in winrunner ?
Have you ever created a start-up script?
What is the use of virtual object wizard and how it is used?
How do u check FONTS in Login Window?
what is risk?
What is the use of gui map?
What is a checkpoint and what are different types of checkpoints?