What is the use of Regular expression?
Answers were Sorted based on User's Feedback
Answer / guest
R.E are used to identify objects or a string with varying
values.
Use while defining the properties of an object,when
creating checkponts with varying values....
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / b.v.rao
During the execution if atall the QTP is unable to identify
the objects due to the regular changes in its properties
values then to overcome this situation the solution
provided by the QTP is regular expression.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / naren
By using RE we can instruct QTP not to consider values of
an object but only consider the format.
ex:if u r testing a date field with different values then
QTP consider only date format not changing dates.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rambabu-hyd&banga
depends on events our application objects (or)windows
lables are varying .To create datadriven test on this type
of objects and window Test Engineers are inserting regular
expression in corresponding gui map entry.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / krishna
If property value have any special character while executing, QTP throw object identification error , To avoid this error we use regular expression concept here double click on that property value , then RE window open, then edit the value name, put the ""before the special character and check the RE checkbox . Then Run the script QTP will identify the object.
| Is This Answer Correct ? | 0 Yes | 0 No |
If created one virtual object? Next time I changed the window position will it work?
Synchronozation types in QTP
Plz write the code, function will take the parameter as month number, i.e., numerical value, but it returns the last day of the month in string (weekday). example: input: function parameter: 3(march) output: thursday
Hello, I am facing problem to check textpoint for mercury application . I have inserted checkpoint to check flight summary for place of departure and arrival with datatable and script look like "Browser("Find a Flight: Mercury").Page("Book a Flight: Mercury").Check CheckPoint("Book a Flight: Mercury_4")" but while I am executing this script at last my check point gets fail and display Text Checkpoint: captured "" between Summary and 4/31/2008FLIGHT , expected "Acapulco" Match case: ON Exact match: OFF Ignore spaces: ON I think value from data table is not fatched so please guide me what I have to do to overcome this problem.. Thanks
what is difference between application testing and product testing?
What is diff. between ordinal identifier INDEX and Location?
Explain the check points in quicktest professional?
In qtp is it possible to check broken links of a page?
Hoe can we do retesting using functions please give the code for it using login page
how we will use output values in qtp? is there any possibulity by descriptive programming?
How u perform Batch Program in QTP?
1. Which function is used to check whether the specified object property achieves the specified value within the specified timeout below anyone is correct 1. Check Property 2. getToproperty 3. output Pls anybody can give the answer.. Thanks in advance...