Give a comment on Regular Expressions using QTP?
Answers were Sorted based on User's Feedback
Answer / 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 |
Regular expression is checking the pattern rather than constant value.
when you are doing web testing the browser name is keep changing, so by using .* we can handle that.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ramu@sunnys
it is search string,it is used to identify the properties of
the objects that are changing in run time
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ramu@sunnys
it is search string,it is used to identify the properties of
the objects that are changing in run time
Is This Answer Correct ? | 0 Yes | 0 No |
How many ways we can parameterize data in quicktest professional (qtp)?
i have string "I LIKE INDIA"..how to i get LIKE from the sting..
What are the properties you would use for identifying a browser and page when using descriptive programming?
How to pass a variable in Dos Command using QTP? Eg: Dim path1, path2 path1 = "C:\Test\sample1.doc" path2 = "C:\Test\sample2.doc" How can we pass these path1 and path2 inside the "copy" dos command? I tried like this. this is not working. oShell.run "cmd /K copy" &path1 &path2
How to find Operating system information using QTP script?
Please Clarify if smartidentfication is used at runtime when qtp does not recogonize the objects
how quick test record on dynamically generated urls and web pages.
Hello, Can we capture only the labels of the web page in the object repository. If yes, then how. Actually my scenario is: I have to capture all the label of mercury site http://newtours.mercuryinteractive.com/tour/mercurypurchase. php. and want to copy all these labels in the notepad. So,please help me how to do this all. Thanks in advance, Gaytri
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com
Is it possible to change the property value at runtime? How it is possible?
Key word driven framework
i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?