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
what is the hierarchy to use properties in descriptive programming
Tell me about your project? please help me how to tell about insurance project
write a script to verify the image path(src property) of the images which are in web pages.
What do you to script when objects are removed from application?
What is expert view in qtp?
What is the limitation to XML Checkpoints?
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
Explain QTP using different development techniques ?
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
what is supply chain management?
how to disable the pop ups through QTP using a script
How to export quicktest professional (qtp) results to an .xls file?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
Explain xml checkpoints.
what is the structure for the data driven framework