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
How many add-ins comes by default with qtp?
A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.
The hybrid framework can be implemented for any application. Is it true?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
Name the properties you would use for identifying a browser and page when using descriptive programming?
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
What is the significance of “action 0” in qtp?
Explain about Test Fusion Report of QTP?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
What are the advantages of Object Repository?
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
Is text area check point supports for web applications?
How to import a test case present in ".xls" file to TD under a Test set?
give me the code to save all messages of inbox of gmail into a folder and notepad