
- Forum
- Testing
- Software Testing
- Automation object?
Automation object?
This is a discussion on Automation object? within the Software Testing forums, part of the Testing category; what is Automation object? how it can be used in QTP?...
-
03-13-2009, 07:20 AM #1
- Join Date
- Mar 2009
- Answers
- 6
Automation object?
what is Automation object? how it can be used in QTP?
-
An object that is exposed to other applications or programming tools through Automation interfaces.
Automation object model is nothing but collection of objects,methods and properties which are used to perform quicktest operations.Throught this object model we can perform any operation described in QTP interface. For every option in QTP menus(Interface) have Objects,methods and properties are there in this model.
Eg: dim qtApp
set qtApp=createobject("QuickTest.Application")
qtApp.Launch /*It launches the QTP
qtApp.visible= "true" /* Qtp is visible to us
qtApp.close /* It closes the Qtp
-
03-25-2009, 08:16 AM #3
- Join Date
- Mar 2009
- Answers
- 6
Thanks a lot Harry.
But i am not able to understand the concept harry...(
In the line 'set qtApp=createobject("QuickTest.Application")', what is "QuickTest.Application". for other application what i have to mention in brace. How to find out that.
"QuickTest.Application" is called as Prog Id??? how to find that prog id.
Pl explain it....
-
Essentially all configuration and run functionality provided via the QuickTest interface is in some way represented in the QuickTest automation object model via objects, methods, and properties. Although a one-on-one comparison cannot always be made, most dialog boxes in QuickTest have a corresponding automation object, most options in dialog boxes can be set and/or retrieved using the corresponding object property, and most menu commands and other operations have corresponding automation methods.
You can use the objects, methods, and properties exposed by the QuickTest automation object model, along with standard programming elements such as loops and conditional statements to design your script.
Automation scripts are especially useful for performing the same tasks multiple times or on multiple tests or components, or quickly configuring QuickTest according to your needs for a particular environment or application.
Please refer QTP User Guide.
Regards,
duke - OSST
-
Thanks to all for the information.
-
Sponsored Ads

Reply With Quote





