Pls explain me the difference between ........
Description.Create and CreateObject
Answers were Sorted based on User's Feedback
Answer / bhanuprakash
description.create is collection of an object which has se
of property and create
object is used to creating an object
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / nitin kumar
Discrition.create:
Here Description is a utility object, we can use
this utility object to get list of similar objects in given location of SUT
for ex: set desc=descrition.create 'description is builtin object
desc(micclass).value="browser".............
create object:
it used to create any objects for ex
we can create ms.word doc, and ms.excel doc, text file doc.....
etc
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / aparajita sharma
A Description Object in QTP is a collection of test object property and value pairs. Each object in the app classifies to be part of a collection. e.g all buttons in a web application will be part of property micclass "WebButton". So, to pull all such common property elements, we use Description.create.
CreateObject is a VBScript way of binding to a COM object like Scripting.Dictionary, Scripting.FileSystemObject, Mercury.Clipboard etc and using their methods from it.
Answer help taken from: http://relevantcodes.com/
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / divya
description.create is used to object description and create
object is used to creating an object
| Is This Answer Correct ? | 1 Yes | 5 No |
How can you identify the browser and its information using QTP script?
how to idetfy which test cases are automated?who will deside that plz tell me
How to get the column count and column name from the resultset in the database connection program?
can we call a test in another test? how? explain with one example?
if there r 10 windows open in QTP write a command to close all 10 windows at a time ?
What types of testing comes under functional testing or in other word what will you test in functional testing?
Are Shared ORs read-only?
How to use parameterization in qtp?
how to create the varibles and how these are connect to qtp? plz tell me
Describe how Smart Identification is used
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
. My application is updating the user information in the application. Every time it is Adding on record in my application and Validating the information like “Record has added successfully”. Which Check point I have to put in this situation? Why?