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
When using descriptive programming?
Explain how qtp identifies objects?
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
how many maximum number of virtual users we can create?
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?
How to find the name of the machine where you are running your automation scripts in qtp?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
what is the difference between the modular framework and datadriven frame work
What is the meaning Work bench?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
How you create new action in qtp?
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
if numbers are always changing write a script for that