tell me about regular expressions in QTP? where we use?
give eample?
Answers were Sorted based on User's Feedback
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 |
scalability testing comes under in which tool?
How to retrieve alpha bate from the alphanumeric string with special character.
What is the difference between check point and output value.
How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this?????
can any body tell me all of the release dates of QTP?????..... thanks in adv!
Hey friends i m facing a problem when i m running my script in qtp it waits for about 5-10 secs before starting execution why it is so can any one solve my problem .Previously it was running fine
WHAT IS THE DIFF BTW KEYWORD DRIVEN TESTING AND DATA DRIVEN TESTING?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
Regular expressions..... Actually how to use this and what is the exact syntax and can anybody can help me out this with example.is there any docs pls send to my mailid rvreddy82@gmail.com
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.
My company has recently started using Ajax for building UI and QTP is nor recognizing the drop down list for selection.It recognises it as a general Web Element or Web Table. I have added individual selections from the drop down as web Table. It works as long as the page is not refreshed. I need some help and inputs as to how to make QTP recognise a drop down list for selection. Any help will be appreciated.
In my QTP script I have a word in notepad that ends in a question mark, for example... "father?" As part of my script I want to delete the question mark. How do you delete a character in notepad?