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
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...))
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version
Explain how qtp identifies objects?
Explain process of smart Identification in QTP?
What are the common defects found in your project? (in qtp interview)
How you can make an action as re-usable action?
Explain qtp(quick test professional)?
Explain the parameter in qtp?
how to test Web application using QTP software
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
What is action split and the purpose of using this in qtp?
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
What are the steps involved in the recovery scenario wizard?