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 I give some thousand tests to execute in two days what do you do?
How to change the screen name while running the test.
How is the Bitmap checkpoint different from Image checkpoint?
what is difference between application testing and product testing?
Hi all please solve this.It is urgent..... When I right clicked on a Web image manually It displayed Open link,open link in new window,save picture as, Email picture,Printpicture,propeties...etc. While automation I have written a code like this 'browser("Google").Page("ramseeker®: Memory and_3").Image ("graphOfModel").Click 10,10,micRightBtn But the right click menu was not displayed. I want to save that image in a seperate folder
Suppose u run ur script today and it is working fine ,nobody has changed the setting and all.u r the owner for the script. But when tomorrow I ran the same script again it got failed and It didn't able to identify one object. Can you tell me what would be the reason for this
What is data driven testing in QTP?
What are the Features & Benefits of Quick Test Pro ?
HOW MANY WAYS ARE THERE TO CPY TEST IN TEST LAB
how to write vbscript on web applications in qtp. explian with one example?
How can we parameterize our test, values in flat file. Ex:- Values in notepad, with that values i want to parameterize the test.
when there is a task that gets repeated in multiple scripts what do you do in QTP?