When there is descriptive programming, why do we go for
Object repository for desigining scripts.?? why cant we use
descriptive programming instead of using the Object
repository..??
Answers were Sorted based on User's Feedback
Answer / pradyumna
In descriptive progmmaning the objeect's information should
be avialable,
desc. prog takes less tim to execute bcz the object's
information is avialable in the script,but it is very
difficult to mentain(update).but through object repository
we can easily write the script bcz the object's info is
avaialable in that OR.
i think this is the answer
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / vistaraj
Following are the reasons for using Descriptive Programming
1. Faster(High Performance): Execution of Decriptive
Programming is faster compaired the scripts whose object
properties are stored in Object Repository.
For OR: As, it takes time to load the OR first and then
identifying the object with all Mandatory Properties,
Assistive Properties and Ordinal Identifier(Index or
Location)
2. Donot Depend up on the Completion of the Feature:
From Development Team or from the Design Document, If we
know the object name and their properties then we can
start writing Automated Scripts using Descripting Program
irrespective of the Completeness of the Application.
No Need Wait till Application is developed and delivered
from Developer.
Is This Answer Correct ? | 1 Yes | 0 No |
and also..
writing the script will take more time when writing in
DP. maintance of the script will be difficult.
if some of the object properties are changing from
build to build u have to update same in script also. but if
u are using Object Repository u can update those property
values in Object Repository. its one time change.or u can
handle this in object repository with reguler expression.
like this we can say many examples.
if any queries:
nanda.dreddy@gmail.com
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / gabbar singh
@Vistaraj
u answer favours the DP. question is still y PEOPLE go far
OBJ repo based inspite of having all those advantages.
still thanks for sharing you knowledge with the users :)
nanda's answer is closely related to the question.
Is This Answer Correct ? | 0 Yes | 0 No |
i am testing an online shopping application.I CLICK on a link "ADD TO CART" of that application a "new page" is open and then click on any object of that "new page". after that when i run this SCRIPT then on this "new page" QTP always shows error of "OBJECT NOT FOUND". How i solve this problem ?
Please explain about unicode compatibility in QTP. how we can able to use it. Please help me
In ordinal identifier there r 3 options available. Which one will be enabled first when ordinal identifier is invoked.
What is keyword driven framework, what is "key" in It.
How to create a run time propertyfor an object?
in flight reservation application. when i entered flyto combobox as london. and i have to check this london is present in flyfrom combobox.give me the code with good explanation. extention to this question. at each iteration i have to put(WRITE) the fly from and fly to city in database table
where the log files stored when using QTP? plz send answer to me ........
How vl i prioritize the actions when i have 10 actions A1, A2, A3......A10. I want to run action as follows A1,A5,A6 and A10. How i can do it. Thanks in Advance to u.
I am using Shared OR, and my collegues are also using Shared OR. How to merge Object Repositories?
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
How many regression test suits in your appliction?
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com