Using Object Repository is a advantage or disadvantage?

Answers were Sorted based on User's Feedback



Using Object Repository is a advantage or disadvantage?..

Answer / srini

As far i think both of them have their advantages and
disadvantages.

OR is simple and easy to identify the objects. but it
consumes too much of memory when it is loaded and it will
increase the execution time. And if you have multiple
object of similiar kind of object properties at times it
will fail to recoginzed and the script will fail.

But DP reduces the execution time. Script will not fail in
this b'coz ur just changing the required property of the
object, yes it true that initial work more that creating
object properties list in an excel sheet and load that
excel sheet during runtime. but this can be overridden buy
using XML file which is less in size and Quick in loading.
and it takes very less memory.

let me know if you have any comments on this.

Is This Answer Correct ?    7 Yes 2 No

Using Object Repository is a advantage or disadvantage?..

Answer / gayathri

Hello Ravindra don't copy the Answers ....(Srinu Answer)

Is This Answer Correct ?    6 Yes 2 No

Using Object Repository is a advantage or disadvantage?..

Answer / srinu

both are eqal using repository,but advantage is greter than
disadvantage.Because u r using repository memory is vast,u
r not using this every statement ur write on the tool

Is This Answer Correct ?    2 Yes 3 No

Using Object Repository is a advantage or disadvantage?..

Answer / 77.ravindra@gmail.com

Using Object Repository is a advantage or disadvantage?
Answer
# 1 both are eqal using repository,but advantage is greter
than
disadvantage.Because u r using repository memory is vast,u
r not using this every statement ur write on the tool

Is This Answer Correct ?    2 Yes 3 No

Using Object Repository is a advantage or disadvantage?..

Answer / ilayaraja

using object reposotory has more advantage. It has few
disadvantages also , it's based on scenario on which we are
going to automate.In our application , we are having same
kind of objects in different pages, during that time we can
use descriptive protgramming instead of having the same
object repetively in all the pages it ll consume more
space.bbut it's preferable to use OR in qtp.

Is This Answer Correct ?    1 Yes 2 No

Using Object Repository is a advantage or disadvantage?..

Answer / 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

More QTP Interview Questions

What are software testing metrics

3 Answers  


1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.

0 Answers  


1. Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). 2. Using descriptive programing, how do you handle changing URLs. Pls anyone, very urgent

2 Answers   Infotech,


HI, Anybody can explain Automation Test Framework...and wht do we do before start of Automation.....

5 Answers   Polaris, Siemens,


why can't you use excel directly in qtp. why we want to import excel data into Datatable.

1 Answers   BoA,


What are the differences between quicktest professional and winrunner?

0 Answers  


Per-Action Vs Shared repository?

5 Answers  


Explain about import and export files?

1 Answers  


How to analyzing Test Results using QTP?

1 Answers  


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

0 Answers  


Differences between quicktest professional (qtp) and winrunner?

0 Answers  


Hi I am new to QTP. we are planning to implement automation for the application. I am trying to execute the following script: Set ExcelObj=CreateObject ("Excel.Application") ExcelObj.WorkBooks.Add Set NewSheet=ExcelObj.Sheets.Item(1) NewSheet.Name="Order" ExcelObj.Cells(1, 1).Value = "Name" ExcelObj.Cells(1, 2).Value = "Ordernum" ExcelObj.Cells(2, 1).Value = "nam" ExcelObj.Cells(2, 2).Value = "21" ExcelObj.ActiveWorkbook.SaveAs "c:\test1.xls" ExcelObj.Quit Set ExcelObj = Nothing in the above script for the line(ExcelObj.Cells(2, 2).Value = "21") it is inserting the value 21 successfully.this is fine But if i want to insert a variable instead of the constant value then what should be the modification in the script. For example: If user retrives a value throug "GetRoProperty" and wants to insert the value into then how the script changes?

1 Answers  


Categories