give one example where you have used regular expression?
Answers were Sorted based on User's Feedback
Regular expression are used for the dynamic values. Dynamic
values change there value during the run time.
for ex. date, When we record the application it take the
default date and when we run the test on different day it
will select that day date. For this conditions it's better
to use the regulat expressions.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / pooja
In flight application, fax order window number changes
according to the Order number created.....
in this case u can use regular expression for that number..
so that the test will not fail and it continues whatever be
the number in that window..
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sreelaxmi
Regular Expressions can be used for Dynamically chanaging
objects in the run time.
In QTP we use regular expressions in
1. Physical description
2. Check points
3. Recovery Scenarios
4. In Scripting
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ramakrishna
hwen ever change in regular in test objects that tine use
resgular expression
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / diksha kakkar
Regular exprresion is used where varying window lables are
there at run time
for ex. while recording script on MS document , it was doc-2
but when u run the script the window lable changes to doc-3
then QTp doesnt identify this ...
for this REgular expression is needed
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / satya
Another gud ex for using the regular expression is to
checking your eMail.
as the no of unread messages will never be constant so -for
clicking on "Inbox(n # of unread mails)" w/o fail u must
use R/E.
| Is This Answer Correct ? | 0 Yes | 0 No |
hi how could i get installation guide for QTP 9.0 on XP help me for this !!!!!
Give a comment on Regular Expressions using QTP?
How can we do this one ? at runtime qtpwindow and browser aren't disply on monitor (or) aren't visible on desktop?how?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
In an application you have a web table. You are provided with an external Excel sheet with the same structure as that of the web table. How will you retrieve all data from the web table and compare it with corresponding data available in the excel sheet, using QTP? How will you report the results in QTP?
QTP -object reposistory spy tool is not able to spy the pop up message appearing in the application, so how is that i can handle such run time pop ups in QTP by code???
Hi .. i want to write the script for the combo nox list . For example if any combo box having a multipul itme. So how can i retrive each item for each iteration ? help me out .
what is exact difference between smoke and sanity testing?
what is supply chain management?
In a webpage how to check the dynamic links that re changing regularly?( without using regular expressions.)
I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible?
Hi All, I want to know how can we schedule QTP scripts. Am using 9.5 version and in our office they want to schedule individual scripts of QTP so that it can run unattended during night time, Please help me how to do that. 2. what is the use of silent test run in qtp can I schedule the scripts in Silent runner, Please explain. 3.I retrieved data from the database using output value -> Database output value. the result of the query for eg is 5 rows, iam able to output the first row by selecting the cols and adding it to output, but am not able to do it for the rest of the rows. please tell me how to do it. Sorry for posting so many qns, am not able to find answ to any of the above in any websites, hoping that someone would really help me with these here, please help me. awaiting for ur immediate revert. Priya