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..??

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP

1305


i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

1382


I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian

1574


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

2803


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

568






please give me the code for doing retesting of gmail login page using functions so the function has to give the value

1547


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

1684


How to use debug tools?

2201


What is the difference between run time object and test object in QTP?

569


What is the syntax to call one script from another?

540


Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?

2145


What is a Patch in QTP?

608


Can we run multiple QTP scripts one after the other without manual intervention? How?

600


Explain measuring transaction.

590


Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?

624