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 Folder Structure following in Keyword Driven Frame work?
I want to assign values in a table in my software, in first column i will give values, table is of 4x4 i.e 4 row and 4 columns, i m using VBScript in my automation work. it is a simple table for giving values.
How to handle dynamic objects in quicktest professional (qtp)?
HoW to open QTP in Real time.after getting the qtp window how to log in .pl answer real time people
Is QTP a compiler or interpreter..? can you we execute a QTP Script file in a another system which does not have QTP installed..??
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
Give some brief idea about a) Active x check b) Alt property check c) Applet object check d) Frame object check e) Multimedia links check f) Server side image check g) Table object check
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
How you can replace string in qtp?
Hi Friends,I hav Just finished QTP course.Can any body suggest me which is the best place to go and post resume(Ban,Chennai,Pune,Mumbai,NCR,Kolkata).I mean how r calls in these cities,the best one?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me