How to use Regular Expressions in QTP? give an example.
Answer Posted / uday kumar. a
In QTP, delaing of Regualar Expressions and varing object
descriptions can be handled by using Description
Programming.
Ex. of using Regular expression is:
u just record yahoo login operaion and click on Inbox link.
Assume u got 10 new mails, then it shows like Inbox(10).
Read one mail, now it shows like Inbox(9). Now try to play
the recorded script. It wont work. Now use Regular
expression in Inbox link like:
"Inbox.*". At that time it wil work.
| Is This Answer Correct ? | 98 Yes | 17 No |
Post New Answer View All Answers
What are the properties you would use for identifying a browser and page when using descriptive programming?
What is output value? How many types of output values are there in qtp?
Define object spy ?
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
what is object and child object.. explain ..if possible give some example for better understanding ..
How can I import environment from a file on disk?
How to creating an output value using quicktest professional (qtp)?
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
Describe synchronization point.
what you mean by artifact,milestone...
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
Which environments are supported by hp qtp?
How can we conduct U-I Testing by using QTP??????
Which scripting language used by quicktest professional (qtp)?