Using Object Repository is a advantage or disadvantage?
Answers were Sorted based on User's Feedback
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 |
Answer / gayathri
Hello Ravindra don't copy the Answers ....(Srinu Answer)
| Is This Answer Correct ? | 6 Yes | 2 No |
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 |
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 |
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 |
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 |
How to Parameterize Object repository in QTP?
HI ALL I AM WORKING AS A AUTOMATION ENGINEER FROM PAST 2 MONTHS IN QTP,MY QUESTION IS IF I OPEN THE BROWSER FIRST & THEN THE QTP LATER MY OBJECT SPY WILL NOT WORK,Y IT IS SO..IF U HAVE THE ANSWER PLZ MAIL ME AT AKSHAR.MYSORE@GMAIL.COM
I am not finding pages and links in object spy on web testing. I am only getting window and winobject. where is the problem? thanks
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
anyone can explain about "Hybrid framework" in QTP
Can you expect major bugs in Net banking Application?
hou can we use vb script in qtp could u tell me breafly
After creating testcases, how do you start testing in QTP? what methodology will follow?
7 Answers Actran, American Well,
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
can we run the scripts of qtp 8.2 in the qtp7.0?
In an(AUT) web application their are two frames as fraMain and fraFooter. Both the frames contain link which needs to be retrieved at a single step. I tried it using "Regular Expression" as fra.* but QTP doesn't recognize the object. So Plz help me out to get resolve the problem:-)
what is the object properties settings in the QTP