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 |
what is smart identification?
What are the types of Object Repositories in QTP?
How the exception handling can be done using quicktest professional (qtp)?
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that
What u say as experience(Interview) "TELL ME ABOUT UR SELf"? As a Fresher(interview) What u Say?
how to retrieve the column headers in database using vbscript statement in QTP
What are the file extensions for per-action, shared object repository files and what is the extension for library files?
How do you configure QTP AND Test director?
Will QTP Support Visual Foxpro Applications? If yes please tell me whether I need to install any additional addins for that?
What is diff between SDLC AND STLC?
How many types of recording modes in qtp? Which will be used when?
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly