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
Have you faced any problems with object repository?
How to customize qtp?
What do you mean by checkpoints in qtp?
what is error and fault in terms of software quality?
How is the Bitmap checkpoint different from Image checkpoint?
Approach for Installation,comaptibility,system testing
what frame work you are following?
What is throw object?
distinguish between old version and new version QTP features.
Explain the types of properties that quick test learns while recording?
Explain the concept of how quicktest professional identifies object?
How QA specialist can identify when programmatic descriptions are useful?
What is file database?
What is QTP testing process?
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box