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 to get Links count in an web application,without descriptive programming?
tell me about regular expressions in QTP? where we use? give eample?
want to learn real time automation project(QTP)?
Explain about business process component? types and usage?
What is smart identification in QTP?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
what is a file system object in QTP
is we can import the object repository from external source. if it so then how?
How to differentiate the webedit field like user name and password? Please tell any other best answer is ther
How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)
Write a code check the checkbox in the web table which is in the 4th row and fifth column (Use child item concept)
What is deference between normal QTP testing and descriptive programming?