Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain the purpose of gui map configuration?

1082


What are the modes of script recording in winrunner ?

1109


When would you use 'set_window' and when would you use 'win_activate'?

1218


How do you unload the GUI map?

1246


What happens when the gui map file get loaded?

1216


What do you verify with the gui checkpoint for single property and what command it generates, explain syntax?

1364


Name the three modes of running the scripts?

1004


Explain the synchronization points?

1081


How to integrate automated scripts from testdirector to winrunner scripts?

1177


by useing qtp where the maximum people feeling difficult

1950


Name the different modes of recording?

1011


How do you filter the objects in the gui map?

1118


When it is appropriate to change physical description?

1143


How do u check FONTS in Login Window?

2341


What is a checkpoint and what are different types of checkpoints?

1249