what is descriptive.create()in qtp?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

wht type of User defined functions or Java Releated functions do we write in VB scripting

2035


how will load the object during runtime?

1827


Explain the use of action split in qtp?

792


What is the script for database check point, bitmapchek point, regular expression ?

1835


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

886


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

841


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

1580


Which functionalities of QTP used in banking project? pls any say answer?

1658


How to open a new test using quicktest professional (qtp)?

754


Explain xml checkpoints.

861


why text area checkpoints cannot used for web applications

2132


What are the Application Functions available in QTP?

1741


Hai anyone please "Explain about Framework in QTP?"

1865


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

1674


How to do call a output parameter from one action to another action??/

2091