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 the script for database check point, bitmapchek point, regular expression ?
How to export QTP results to an .xls file?
is there any addin for remedy user application
what is main difference between QTP 8.2 AND QTP 9.0/9.2 HOME PAGE?i mean what are extra thing in QTP 9.0 than in QTP 8.2?
in my database haveing 3X3 (manas having 3 rows 3 colums) i want to test only (2nd row 3colum) bit how to test either script or any automation plz explain? (Chandana)
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
the question was on what techonlogy u been working on i said VB then he asked me the addin for VB in Qtp?
Can we write class for vb script in Quick Test Professional?
how to capture objects of remote deskop as it is capturing only window.
What is batch testing?
What is the difference between browser sync and page sync in QTP?