How to use Regular Expressions in QTP? give an example.
Answer Posted / umasankar
Regular expressions enable QuickTest to identify objects
and text strings with varying values.You can use regular
expressions only for values of type string.
You can use regular expressions when:
1) Defining the property values of an object in dialog
boxes or in programmatic descriptions.
2) Parameterizing a step.
3) Creating checkpoints with varying values.
Example:
your site may include a form in which the user inputs data
and clicks the Send button to submit the form. When a
required field is not completed, the form is displayed
again for the user to complete. When resubmitting the form,
the user clicks the Resend button. You can define the value
of the button's name property as a regular expression, so
that QuickTest ignores variations in the button name when
clicking the button.
| Is This Answer Correct ? | 34 Yes | 5 No |
Post New Answer View All Answers
Explain about Test Fusion Report of QTP?
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.
How do you create new test sets in td?
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
What is the difference between a Function and Action in QTP?
Is the qtp course will help to create a virtual object?
what is impact analysis on regression testing?
how to write xml output check point bu useing descriptive programing .means without useing output check point
Can we run multiple QTP scripts one after the other without manual intervention? How?
What are the types of environment variables in qtp?
How many number of actions possible in qtp?
What is the extension of the recovery scenario file in qtp?
can anyone tell me from where i can download qtp demo or crack version
If I change the property value at runtime is it effect is object repository?
Which functionalities of QTP used in banking project? pls any say answer?