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...

Give a comment on Regular Expressions using QTP?

Answer Posted / nath .t

suppose if u want to check date field. Date field like as
mm/dd/yy. here we can use regular expression.

ex:-mm/dd/yy
here month cann't exceed 12
Date cann't exceed 31 days
yy cann't exceed present year

for this we can regular expression
[0-1][0-9]/[0-3][0-9]/07

ex:- Window is there, name of the window is window1
at first time. but at the time of testing its variate like
as window2, window3,...... at this time we can use regular
expressions.

regular expression for the above ex. is

!window*


we can give regular expression in CONSTANT VALUE
OPTIONS DIALOUGE BOX. u must enable the regular expression
option. like this way we can give regular expression.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention the different actions types of qtp.

971


What are the trigger events in qtp?

1048


Hi ,Can any one pleas explain how to test splash objects using QTP?

2313


How many ways we can parameterize data in quicktest professional?

971


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

1977


Explain xml checkpoints.

1060


What is clean sweep?

1758


Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!

2151


Explain the concept of how quicktest professional (qtp) identifies object?

953


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

2004


How to check bitmap output value?

1115


How you know that a test case is a regression test case

3904


What are the things(properties, and other details) will be recorded while recording an object using normal recording?

1923


How you are developing the script? Using record and play back or manual?

993


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

1796