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

How to open a new test using quicktest professional?

774


Explain types of descriptive programming?

813


Where to use Property Let, Property Get, Property Set in UFT

592


What is difference between Recording time object identification and Run time (Execution) time.

1248


Explain runtime dynamic settings?

2216


Who uses qtp tool?

759


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?

755


Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.

3625


how to convert 100 into hundred repees only and viceversa

1682


Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)

1656


hou can we use vb script in qtp could u tell me breafly

1943


tell me QTP standards ?plz

1695


What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);

3747


Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement

1866


How you will rate urself in QTP in the range of 0 to 5

1949