Pls explain me the difference between ........
Description.Create and CreateObject
Answer Posted / 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 |
Post New Answer View All Answers
What is the meaning Work bench?
how to test Web application using QTP software
How to interact tool & application build in QTP?
How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.
Why is action split used by qtp?
what is the difference between the modular framework and datadriven frame work
How is a Step generator used in UFT?
How you debug your script?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
What are the types of object repositories? Which one is you are using?
How do you test DLL files using automation Tool QTP?
How do you send email with attachment from outlook using qtp ?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
What are the different types of recording modes in qtp? Which will be used when?
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?