tell me about regular expressions in QTP? where we use?
give eample?
Answer Posted / 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 |
Post New Answer View All Answers
How will internal and external links be validated and updated? how often?
Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?
How to data driven test for Win objects in QTP ?
What are the different types of recovery operation?
How would you export a script from one pc to another in qtp?
Hi All, How to Compare two strings character by character in QTP
What VBScript operators, functions, and statements do you use in QuickTest Professional?
What does it mean when a check point is in red color? What do you do?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
What are the features of quick test pro(qtp)?
How software automation specialist enter steps in the Expert View?
How may types of defects identify application or your currently working application?pls give me answer..
Explain how Selenium is different from UFT?
What is expert view in qtp?