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 |
how to change the properties of object during run time . plz give the code using flight reservation
HOW do we find a datasheet when there are 4 datasheets in data table.this question was asked by covansys interview.
How to call .vbs funtion , Library files in QTP? plz Explain indetail(chandana)
h u call the function
how to do spell check in QTP? reply please
What are the Test design techniques you uses in ur project?
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
What is keyword driven framework, what is "key" in It.
How comfortable are you in VB scripting?
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
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)
Pls explain me the difference between ........ Description.Create and CreateObject