tell me about regular expressions in QTP? where we use?
give eample?
Answers were Sorted based on User's Feedback
Qtp may not recognize the objects whos porperty values are
dynamically changing.In those situation we can use regular
expressions.
for example: in your mail inbox you have 15 messages
u recorded this and in object repository it stores inbox
(15)
assume u got few mails and now your inbox having 20 mails.
now you run the script which ever you recorded. The qtp
will not recognize the inbox(15) .because right now your
inbox having 20 messeges.
in this situation you need to reqularize the inbox as
follows
inbox\(\d+\)
now qtp will identify
Regards,
mahi.kotike@gmail.com
| Is This Answer Correct ? | 1 Yes | 0 No |
How to get Links count in an web application,without descriptive programming?
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
Hi, My problem is as follows. I recorded a script that created Object repository of each action i recorded. But later I added one more step (which was to enter data in a textfield) into the script through expert view. But as no repository for this newly added step exists in the test, my script fails. So please help me to sort this problem that how can I create object repository of a new step in an existing test. Thanks everyone
There r 1000 rows and 1000 coloums , in that I want pickup a name of the coloumn , pls dont say in sql statements , in interview one of the interviewer said it was a wrong answer pls any send me answer its urgent
how do you find the number of occurences of string QTP from the expression , " QTP+QTP=2QTP"
Explain data driven framework?
How to capture data from images in QTP and produce them in Excel sheet ? please ans...
Hi, It is HR question. What are the qualities you like and dislike in your Project Manager?
How can i open 5 multiple browser at once through QTP VB script
What all challenges you have faced during automation and how you have resolved it?
Is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?
How to handle Java tree in QTP?