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 |
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
which is the easiest way you can send the QTP test results to Client if he want to see the screenshots when the results are failed?
What is action?
when we enter url,one page should open.write a vb script ,that page is open or not
2 Answers Blue Chip India, Persistent,
How will you check that your test cases covered all the requirements?
how do u handle an object with out name in our application using QTP 9.2?
can we call a test in another test? how? explain with one example?
any challange that faced in your project? (please give me some examples in your project?
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
Hi , I am new to VBscripting, My requirment is to write a vbscript to read a row (which has coloumns like Description, Code, date(DD/MM/YY), hours etc) and export these feilds to a Website and then click on Submit Automatically on that web page. This it should do for all the Rows in that excel file. Any help is much appriciated Thanks Shalini
How to change the scripts from Per-Action object repository to shared object repository
Explain the qtp test phases.