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
wat is the d/b windows 95&98&xp?could anybody give reply ?
When would you use 'set_window' and when would you use 'win_activate'?
What are the two modes of recording?
Explain the difference between gui map and gui map files?
How do you execute your tests from windows run command?
Explain the use of test director software?
What in contained in the GUI map?
How do u check FONTS in Login Window?
Name the different types of checkpoints?
Hi iam a begginer or rather new stsrter to QTP and strugling to start as i have to start writing the automated scripts for the existing manual testing could some one send me some tips ans tricks for a jump start. Any help is greatly appreciated
What are the modes of script recording in winrunner ?
What is the extension of gui map file?
How do you handle pop-up exceptions?
How to check property of specific icon is highlighted or not?
supose 10 times text data is there but it will run 8 times whtat will you do.