what is descriptive.create()in qtp?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Please mail me the license key of QTP 9.5 t v.sadangi@gmail.com ????? thx
How to record application running on the Virtual machine?
Does UNIX support QTP? If not what is the other tool used for Unix environment?
How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object
The Senario is Steps to do 1.Entered userid in textbox 2.saved with details 3.i want to open user which i have created its in hurry.....
How to save your test using quicktest professional?
What information do the columns in the Keyword View show for each step?
What is TOM in QTP?
Syntax for how to call one script from another? and Syntax to call one "Action" in another?
Hybrid framework supports Descriptive programming. Is it true?
wt is memory leakage?
i am new to qtp i do not know how to write script how to write the code to login if it fails how to able error messages