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 |
Does QTP work in UNIX environment
5 Answers BirlaSoft, C1 India,
what is impact analysis on regression testing?
HOW TO DO THE BATCH TESTING USING QTP?
Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT
How does qtp recognize objects in aut?
Have you used TD?
when we enter url,one page should open.write a vb script ,that page is open or not
2 Answers Blue Chip India, Persistent,
write script for finding number of broken links in web page? kindly please answer my question.
3 Answers Manhattan, Oracle, Virtusa,
How should I check my code( Before going to execute) without executing the script in QTP
How does QTP identifies the object in the application Mainly objectives are three type's OF PROPERTIES namely
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
I learned all the objects of my application in object repository thru English Language. now i want to use same object repository for other languages(French,Dutuch and Chinese)