give one example where you have used regular expression?
Answers were Sorted based on User's Feedback
Regular expression are used for the dynamic values. Dynamic
values change there value during the run time.
for ex. date, When we record the application it take the
default date and when we run the test on different day it
will select that day date. For this conditions it's better
to use the regulat expressions.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / pooja
In flight application, fax order window number changes
according to the Order number created.....
in this case u can use regular expression for that number..
so that the test will not fail and it continues whatever be
the number in that window..
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sreelaxmi
Regular Expressions can be used for Dynamically chanaging
objects in the run time.
In QTP we use regular expressions in
1. Physical description
2. Check points
3. Recovery Scenarios
4. In Scripting
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ramakrishna
hwen ever change in regular in test objects that tine use
resgular expression
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / diksha kakkar
Regular exprresion is used where varying window lables are
there at run time
for ex. while recording script on MS document , it was doc-2
but when u run the script the window lable changes to doc-3
then QTp doesnt identify this ...
for this REgular expression is needed
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / satya
Another gud ex for using the regular expression is to
checking your eMail.
as the no of unread messages will never be constant so -for
clicking on "Inbox(n # of unread mails)" w/o fail u must
use R/E.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is action split and the purpose of using this in qtp?
What is All object and Local object in Object Repositary? Explain me please.
What is QTP Frame Work ,and i want it in detail
What is the synchronization point in qtp?
Hi everybody, Can anybody tell me that how the QTP frameworks are implemented . I wanted to know with examples . Thanks in advance
How to test login module with different username and password by using data driven testing in QTP?
IF THE GUI OF APPLICATION IS CHANGED THEN IS THERE ANY NECISSITY TO CHANGE OR UPDATE OUR TEST SCRIPTS
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
How To write script in QTP For Field Validation Example: password Field is accepting A range 8-20 characters only.How to write script?
what are the metrics in general we use in testing
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
How to add Dynamic Objects to Object repository?