Using Object Repository is a advantage or disadvantage?
Answer Posted / ravi s
Use of OR is more efficient.since Descriptive programming
or reading property values from Excel sheet and create a
object will take more time.This you won't able observe when
you do it for 1 or 2 object. Do it for one complete
scenerio and you will able to figure out the time taken for
creating objects.
So Use Descriptive programming for very very less objects
in your complete application where it is not working with
OR.
You can observe how much time it will take while reading
values from excel and creating objects if you automate some
30 testcases.
OR is best feature provided by QTP .Use descriptive where
operations not performed some objects. you will find some
dialog boxs or messageboxes.so there use descriptive
programming.
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
When to use descriptive programming?
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 clean sweep?
How to analyzing test results using quicktest professional?
How many types of actions are there in quicktest professional (qtp)?
What are the views available in quicktest professional (qtp)?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
How to record a qtp script ?
How to give a call to another action from one action?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
What is the purpose of loading qtp add-ins?
How do you delete unwanted results in qtp?
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
what is the frame work in J-meter?
how to post xml data from QTP scripts to any application?