Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Descriptive Programing? In which cases, we will go
for descriptive programing?

Answers were Sorted based on User's Feedback



What is Descriptive Programing? In which cases, we will go for descriptive programing?..

Answer / ashish srivastava

1.When you do not want to use the Object Repository and
want to sepcify the property value of an object by writing
on the script.In that case we use Descripting Programming
(DP)

2. When we want to create function inthe external file such
as class File Library then we use descriptive programing.

3. When we know the property value of the object that are
use in the application by the developer ,so we can start
writing the script before the application come to the AUT
(Application Under Test).In that case we can use
descriptive programming

4. When we want to reduce the size of the Object Repository
In that case we use descriptive programing

Is This Answer Correct ?    7 Yes 1 No

What is Descriptive Programing? In which cases, we will go for descriptive programing?..

Answer / mahabooob

The Objects in the application are dynamic in nature and needs special handling to identify the objects ,The best example would be of clicking a link which chages acording to the user of the application.
When the objectrepository is being huge due to the number of objects being added to the application ,if the objectrepository is increase too much decrease the performance of the qtp in order to identify the object,
when the application is not developed at,writing the scripts for application is application to be up,or if we no the descriptions of the objects we can starthem of the early stage.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

Is it mandatory to know abt regular expression in descriptive programming

2 Answers  


what is framework in QTP? any one give me answer

4 Answers   Wipro,


Tell me about qtp?

0 Answers  


How do you find out whether the string is Numeric or Alpha numenric.Suppose..'QTP is an automation testing tool 12345' How should I know it is alphanumeric.Can any one please write the code for this

4 Answers  


i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording

3 Answers   Semantic Space,


w is configaration management

3 Answers   TCS,


How to create an instance in QTP?

1 Answers   Collabera,


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

0 Answers   Accenture,


What is Object Spy in QTP?

11 Answers   vsworx,


What are the steps involved in recovery scenario wizard?

0 Answers  


How will u integrate oracel with QTP?

2 Answers   Microsoft,


How you are maintaining shared object repository in your team or your project?help me plz

1 Answers   CTS,


Categories