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 programming in QTP? How can be done?

Answer Posted / john

There are two ways, QTP uses to recognize the objects
present in your application.

1. Object Repository (OR)
2. Descriptive Programming (DP)


First let see how OR works. OR is the simple and default way
of object identification in QTP. OR stores groups of
properties and values of every object. While you record on
application, all the objects you click, are stored in Object
Repository.

During the play back QTP use this OR to identify the object
on which the action is to be performed.


What is Descriptive programming (DP)?

We'll use DP when we want to bypass OR. Descriptive
programming is used when we want to perform an operation on
an object that is not stored in the object repository. This
way QTP won’t search....


For full article, refer below link..

http://qtpschools.blogspot.com/2011/03/descriptive-programming-part-1.html

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For which type of project the iterative model is suitable?

1718


what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent

1729


What is Unicode Compatibility?

1922


Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19

1565


How u will do versioning in QTP?

1836


What is the virtual object?

1074


I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object

2853


What is the differences between image check point and bit map check point?

1006


Explain in brief about the quicktest professional automation object model?

892


How would you export a script from one pc to another in qtp?

1049


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

1966


What is quick test pro? What is a quick test professional?

1014


in a web page How to check and display a particular word from a paragraph?

2434


Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.

1991


how will you load the test cases in ddt?

2009