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

How to do text matching?

1125


What are the modes of script recording in winrunner ?

1111


What is toogle breakpoints? How does it differ from break points?

2391


How to check the background colour of the screen in WR?

1942


Explain the purpose of gui spy?

1107


What actually happens when you load GUI map?

1283


How do you modify the logical name or the physical description of the objects in gui map?

1119


Explain the synchronization points?

1083


How do you find an object in an gui map.

1276


What are the different modes of recording in winrunner?

1120


global sheet and external excel sheet how it will work

1892


What are the Win Runner tools for functional testing?

3019


How to force wr to learn the sub-items on a menu?

1035


Which function to use to compare the application date with system date?

1995


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.

2243