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 |
I install .Net Add-Ins in my system. It installed properly. But all the objects are recognizing as window objects only. But it has to recognize as swf objects. In Record and Run setting i selected 'Record and run test on any open browser' and Record and run test on any open Windows-based application' Can any one tell what setting i have to do to recognize objects correctly as swf...? Please give some suggestions..?
How to use Regular Expressions in QTP
When should u feel that u can stop testing now? The following are few of the common Test Stop criteria:
What is the latest version in QTP?
55 Answers Bharti, Polaris, US Technology,
Did u use check points during ur work experience ?
what is difference between Mandatrary proparties and Assistive proparties? Explain
i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
What is the present version of the VB Script we are using
what does it mean when a check point is in red color? what do u do?
what is the use of descripting programming?
what is the difference between an Action and a function in real time