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 ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is parameterizing?

1142


Which are default codes winrunner generates when we start the application?

2159


What in contained in the GUI map?

1101


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

1407


global sheet and external excel sheet how it will work

1941


What is the purpose of different record methods 1) record 2) pass up 3) as object 4) ignore.

1129


Explain data parameterization in winrunner?

1103


How to break infinite loop?

1174


What is boundary test?

1194


Explain the purpose of gui map configuration?

1129


What do you verify with the sync point for object/window bitmap and what command it generates, explain syntax?

1188


What Framework is suitable to validate the Login screen.

2562


What is the purpose of regexp_label property and regexp_msw_class property?

1267


How to do text matching?

1163


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

1307