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 |
Does we use Classes and methods in realtime..?How wud we access methods in a class..?Thanq Guys..!
how to disable the pop ups through QTP using a script
how to idetfy which test cases are automated?who will deside that plz tell me
How you can make an action as re-usable action?
Write code for ,We have a web table with rows and columns like EmpID EName Action 1 ABC Edit Delete 2 XYZ Edit Delete 3 PQR Edit Delete In the above Table the last column has two links we have to click first link based up on EmpID =2
Where the text version of script file located in file system?
what is the use of descriptive programming in QTP ? when we need to use DP? can we test the application completely with out useing DP?? please explan with example
What are the challenges u faced in testing with crm domain? How u overcome with?
can a Function return more than one value..??? if so please give me the code for that.
5 Answers DST Global Solutions,
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
when a test case is written how u test using qtp
Is it possible to return multiple values from a function..? Then how..?