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 |
What do you do if QTP doesn't recognize object ,what action should be taken
1.How recognize QTP Dyanamic Image? (suppose tha wedpage contains 3 logos..1 square 2.circle 3.rectangel)there changing at same position how to capture that)
explian qtp frame work and what is the use of it? what is the neceecity of this? explian detail?
Hi All, I'm Akshaya here, could anybody please help me regarding how to import the excel sheet to run time datatable. But Pl. keep it in your knowledge is that excel sheet is opened. Thanks, Akshaya Madali 9823213538
what type of frame work used in your company?
Whether it is possible to test the adobe's controls like zoom, resize, save etc using QTP...If yes, how u can do the same?
How to start recording using quicktest professional?
How will you set a unique four digit number in an edit field in QTP?
suppose i can done the project , that project have 4 modules in that one module they have many links(web pages).in that time i can say i can work on some links? or total module?
How does QTP identify an object?
what is the difference between the modular framework and datadriven frame work
How to retrieve value (data) from notepad using QTP ?