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
How do we analyze the checkpoint results?
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
Why bpt?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
When you open QTP, how many sheets you can see?
What is reusable action?
What is contained in the object repository?
Why qtp always start action1 and does not start action?
How to record a qtp script ?
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
How to create runtime property for an object?
What are the differences between quicktest professional (qtp) and winrunner?
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva
What is the purpose of loading qtp add-ins?
In what occasion we can specify global sheet and action sheet?