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 |
how can we write descriptive programming for menus when qtp is not able to identify it..and how can we write descriptive programming for partially identified and non standard objects..do i have to map the objects before writing the script
How many types of Actions are there in QTP?
I Selected for TCS-Chennai(Contract to hire) position plz suggest me whether i have to join or not
What does ".mst" stands for? (abc.mst)
• What type of testing questions will be asked for 2+ yrs exp people in interview?
How to convert non-reusable action into reusable action in QTP?(i know by default QTP will take it as a non-reuable action )(Chandana) plz urgent?
What is the function of Filter in QC . give with a real time example.
Which version of QTP is using by companies nowadays?
what is the criteria for choosing test cases for automation? Ex: if you have some 300 test cases, then how many you choose for automation. what is criteria of selecting?
3 Answers Aricent, Delhi University, TCS,
what is the default ordinal identifier.what are the send keys in qTP.
How to import the Test Results in QTP to an Excel sheet
I have a string "Redfort is in Delhi" how do u write vbscript for " Delhi in is Redfort"