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 to find array size in qtp?
anyone can explian about types of "Triggere Events" in QTP
QTP Data Table Having 10 records with 10 to 15 fields(lets say).now i want to get alternative records from datatable.pls can any one answer it?
hi i have one issue while coding the dates . i want to add the date curret to 4 days . can any one helme plz about this regards balaji
what is clean sweep?
Can any body help me to write descriptive program to find a cell value (say 2 row, 3rd column) in a datatable which is creating dynamically and statically
How to insert a check point to a image to check enable property in QTP?
Explain what the difference between Shared Repository and Per_Action Repository
Hi, Can anyone help me with: How to select a value from combobox and check the checkbox and set the filter. I have to set a filter by selecting a value from dropdown. Also, im using UFT 11.5 so can anyone help me with code for UFT. Thanks Sreevidya
What is LoadRunner?
If our application contain one image while executing script application failed to show that image but you have to check that image by importing dynamically from other location... Can we use Check Points here on dynamically imported image?
In a page i have N number of links at a time i would like to open those links by using QTP?how to do that?