tell me about regular expressions in QTP? where we use?
give eample?

Answers were Sorted based on User's Feedback



tell me about regular expressions in QTP? where we use? give eample?..

Answer / kotike

Qtp may not recognize the objects whos porperty values are
dynamically changing.In those situation we can use regular
expressions.

for example: in your mail inbox you have 15 messages

u recorded this and in object repository it stores inbox
(15)

assume u got few mails and now your inbox having 20 mails.
now you run the script which ever you recorded. The qtp
will not recognize the inbox(15) .because right now your
inbox having 20 messeges.

in this situation you need to reqularize the inbox as
follows

inbox\(\d+\)
now qtp will identify

Regards,
mahi.kotike@gmail.com

Is This Answer Correct ?    1 Yes 0 No

tell me about regular expressions in QTP? where we use? give eample?..

Answer / shivaji rao

Explain clearly answer...

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How many ways we can parameterize data in QTP ?

9 Answers  


A web table is having 3 columns(name, salary and checkbox) in qtp How to select a checkbox based on the highest salary of an employee in a webtable.

1 Answers  


If u r using library files (Instead of Check Points) , How do u do bitmap check ?

1 Answers  


Other than using import sheet statement for importing the data from excel sheet, is there any other method that can be used?

2 Answers  


Give me the Example of standard check point and text check point with syntax?

3 Answers   IMI Soft, IMI Soft Engineering,


Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

1 Answers  


what is run-time object in qtp? explain with example?

2 Answers  


what is database check point, how will you parameterize the database from seperate data table?

2 Answers   JPMorgan Chase,


Explain the views in the QTP GUI?

1 Answers  


What u say as experience(Interview) "TELL ME ABOUT UR SELf"? As a Fresher(interview) What u Say?

3 Answers   ShopRite,


my assignment is,how can i differentiate between readed & unreaded mails in my inbox ?, since for both readed & unreaded having same properties for both test objects &run time objects

2 Answers  


how u write vb script in qtp pls give me some basic script and some material

32 Answers   Datamatics, UHG, Winit,


Categories