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


Please Help Members By Posting Answers For Below Questions

what is the difference between modular framework & datadriven framework

1674


Explain how you can delete excel file in qtp?

683


Will down time for server and content maintenance/upgrades be allowed? how much?

710


What is the difference between rational rose and QTP?

1874


If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP

1399






Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!

1841


After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.

6296


Hai anyone please "Explain about Framework in QTP?"

1721


How qtp identifies objects?

648


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

1457


In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls

1535


Explain about the quicktest professional (qtp) automation object model?

660


What are the challenges you faced during you entire life automation ?

1096


Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?

2229


give me the code to save all messages of inbox of gmail into a folder and notepad

1715