what is descriptive.create()in qtp?

Answers were Sorted based on User's Feedback



what is descriptive.create()in qtp?..

Answer / nanda

This is used when we are working with descriptive programming.
that is not descriptive..

description.create...

it is used to create an object through scripting.

for example..

set objtext = description.create
objtext("nativeclass").value = Edit
objtext("attachedtext").value = "XXXXX"

now objtext is an edit box with name XXXXX

browser("dsagd").page("dsada").webedit(objtext).set "dsahdas"

If any queries....
nanda.dreddy@gmail.com

Is This Answer Correct ?    4 Yes 0 No

what is descriptive.create()in qtp?..

Answer / bhuvana

Descriptive programming is to give a description to any obj
by us.and this can be reused

Set objEdit=description.Create()
objEdit.Value("nativeText")="Edit"
objEdit.value("AttachedText")="Enter Text"


window("Application1").Dialog("Login").objEdit.set ("Name1")
window("Application").Dialog("Login").Ok.Click

then you can give diffeternt names in the datasheet and
slow the script to fetch the names from there

Is This Answer Correct ?    2 Yes 0 No

what is descriptive.create()in qtp?..

Answer / sreeprasad

To create properties collection and we can create

properties object(MYDescription).once we have filled

properties collection with a set of properties objects

(properties,values) we can specify properties object in

place of an obj name

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

What is use of object spy?

0 Answers  


How to supress warnings from the "Test results page"?

2 Answers  


is the institute MindQ laid by Mr.Nageswar rao.. heard alot about Nageswar rao...can you briefly let me know about the Nageswar rao inst. and MinQ...THANX IN ADVANCE

44 Answers   InterGraph,


what are the qtp tester responsibilities?

3 Answers  


How to supress warnings from the "Test results page"?

6 Answers   BirlaSoft,






What are the different kinds of test steps?

0 Answers  


Hello Everybody, How to maintain the page state in QTP. My scenario is: 1. I opened a notepad file. 2. Entered some text in the notepad file. 3.And changed the font type and color of the notepad file. And saved that. 4.Now next time when I will open the notepad it is showing the changed font type and color, rather than the default values. Please provide the code. Thanks, Gaytri

5 Answers  


Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri

0 Answers  


Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?

0 Answers  


What the differences are and best practical application of Object Repository?

0 Answers  


What is expert view in qtp?

0 Answers  


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

0 Answers  


Categories