give one example where you have used regular expression?
Answer Posted / purni
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 |
Post New Answer View All Answers
what is the diff b/w assistive and mandatary rules of object repository in QTP???
Does Low-level recording capture mouse movements?
Explain more about the Test Fusion Report of QTP?
What is the differences between image check point and bit map check point?
Can we run test with out adding object in object repository? How it is possible?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
We stored into the objects OR and then write the scripting
how will you load the test cases in ddt?
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma
What is the difference between the keyword view and expert view?
What ate the Technologies supported by QTP?
If created one virtual object? Next time I changed the window position will it work?
How does qtp identify gui object?
What are the technics follow in writing VB script?
banking domain description for software tester for interview