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 Import data from a ".xls" file to Data table during Runtime.
how can i use text check point in descriptive programming. or else is there any way to compare the text in the application and the text in data table.
how many maximum number of virtual users we can create?
How to convert QTP's ObjectRepository.mdb file to xml file
what is the hierachy of Descreptive programming?
How to display the first 3 letters in these "ABCDEFGH" using qtp script?
is there any addin for remedy user application
Suppose there is a bitmap with some text in it how do you write the script to get the text.
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
I have an application running in Linux server. I am reaching the application through emulators like telnet. My operating system at the client side is Windows XP. Using emulator I am connecting the Linux server and working on the application. Can I automate the testing of the software running in Linux server using QTP. In short, does QTP support the applications running in Linux servers.
What type of VB script u had done in expert view?
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this