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
For which type of project the iterative model is suitable?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
What is Unicode Compatibility?
Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19
How u will do versioning in QTP?
What is the virtual object?
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
What is the differences between image check point and bit map check point?
Explain in brief about the quicktest professional automation object model?
How would you export a script from one pc to another in qtp?
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
What is quick test pro? What is a quick test professional?
in a web page How to check and display a particular word from a paragraph?
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.
how will you load the test cases in ddt?