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

how to change the properties of object during run time . plz give the code using flight reservation

2 Answers  


HOW do we find a datasheet when there are 4 datasheets in data table.this question was asked by covansys interview.

5 Answers   CTS,


How to call .vbs funtion , Library files in QTP? plz Explain indetail(chandana)

6 Answers   Wipro,


h u call the function

6 Answers   Wipro,


how to do spell check in QTP? reply please

8 Answers  


What are the Test design techniques you uses in ur project?

0 Answers   Accenture,


i've installed qtp9.2 on Windows 7. Recording and everything no problem. But when i am saving the test, it is not happening. it says 'general error while saving'. But teh test is getting saved but as a folder with lock icon. When i wanted to open it, it is jst showing as a locked folder but not as a test. Somebody help me out plz

1 Answers  


What is keyword driven framework, what is "key" in It.

2 Answers   IBM,


How comfortable are you in VB scripting?

2 Answers  


Can you write User defined function for WebEdit ? Note1: This function can be used for all web edits in all pages Note2: Don't use Child objects method

1 Answers   IBM,


We have a dynamic webtable where rows keep on adding.I have to click on particular row where the status changes to Update or Save.How do you click on Status(either it can be Update or save)

2 Answers   IBM, Infosys,


Pls explain me the difference between ........ Description.Create and CreateObject

5 Answers  


Categories