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

What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?

1024


What is the architecture of your project? Can any one answer for this question plz........

1847


What are the various types of Actions in UFT?

1022


Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya

1832


Hi All, I need code for how to execute qtp scripts from excell sheet

1881


What are the flaws in water fall model and how to overcome it?

1017


Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)

2367


How to interact tool & application build in QTP?

1909


hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?

1996


how to prepared for first for the first interview?

2270


What is QTP testing process?

1047


is there any addin for remedy user application

2227


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

3475


What is the significance of “action 0” in qtp?

998


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

1947