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
1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins
Explain different checkpoints in qtp.
Explain advantages and disadvantages of ddf?
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
Without using gui map editor we can recognize the application in winrunner ?
How to associate function library at a run time?
What are the methods used in UFT to handle exceptions or run-time errors?
Explain advantages and disadvantages kdf?
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
How does qtp identify objects in the application?
What is synchronization? What are the ways you can synchronize?
What are the Disadvantages of shared object repository?