Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


give one example where you have used regular expression?

Answers were Sorted based on User's Feedback



give one example where you have used regular expression?..

Answer / purni

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

give one example where you have used regular expression?..

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

give one example where you have used regular expression?..

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

give one example where you have used regular expression?..

Answer / ramakrishna

hwen ever change in regular in test objects that tine use
resgular expression

Is This Answer Correct ?    0 Yes 0 No

give one example where you have used regular expression?..

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

give one example where you have used regular expression?..

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

Post New Answer

More QTP Interview Questions

Hi, I am learning QTP. can someone please tell me a site from where i can learn QTP scripting Thanks in advance

0 Answers  


How to convert manual test cases to automated testcases

1 Answers   TCS,


What is obsolute path and relative path in QTP..? How to access them and what are the differences between them...??

3 Answers   Virtusa,


How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

0 Answers  


how do u create new test sets in TD

1 Answers  


When Object Repository is available what is the necessity of having Descriptive programming which needs more scripting efforts.

3 Answers  


Which scripting language used by quicktest professional?

0 Answers  


Hybrid framework supports Descriptive programming. Is it true?

0 Answers  


datatable.Import("E:\Programming Samples\QTP Samples\OrderNumbers.xls") Asume we have 4 records in datatable Code reads the 4 rows in the sheet ok, but does it 5 times? It doesn't sound like closing the datasheet is the problem Can we close the datasheet runtime ?

2 Answers  


in flight reservation ex once u login, u go into next window where we hav an option of new, open and help etc.. how to fetch those options and to go to respectiv tab accordingly using qtp.. plz let me knw answer for tis as early as possible. Thanks in advance... asha

1 Answers  


What is the Command used to start the QTP

0 Answers   HCL,


Can we Run the Tests developed in QTP 8.2 in advanced versions like 9.0, 9.1, 9.2...etc.,

3 Answers   ADP,


Categories