Exforsys
+ Reply to Thread
Results 1 to 5 of 5

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?...

  1. #1
    lalithambigi is offline Junior Member Array
    Join Date
    Mar 2009
    Answers
    6

    Automation object?

    what is Automation object? how it can be used in QTP?


  2. #2
    harry8 is offline Junior Member Array
    Join Date
    Jul 2008
    Answers
    6
    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


  3. #3
    lalithambigi is offline Junior Member Array
    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....


  4. #4
    dukekalra is offline Junior Member Array
    Join Date
    May 2008
    Answers
    1
    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


  5. #5
    sandy31 is offline Junior Member Array
    Join Date
    Apr 2009
    Answers
    5
    Thanks to all for the information.


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...