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 |
What is use of object spy?
How to supress warnings from the "Test results page"?
is the institute MindQ laid by Mr.Nageswar rao.. heard alot about Nageswar rao...can you briefly let me know about the Nageswar rao inst. and MinQ...THANX IN ADVANCE
what are the qtp tester responsibilities?
How to supress warnings from the "Test results page"?
What are the different kinds of test steps?
Hello Everybody, How to maintain the page state in QTP. My scenario is: 1. I opened a notepad file. 2. Entered some text in the notepad file. 3.And changed the font type and color of the notepad file. And saved that. 4.Now next time when I will open the notepad it is showing the changed font type and color, rather than the default values. Please provide the code. Thanks, Gaytri
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
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
What the differences are and best practical application of Object Repository?
What is expert view in qtp?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.