Tell about automation object model(Aom) in qtp?

Answer Posted / koteswara rao m

we can close Qtp from Qtp by using the Automation object
model.
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

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How may types of defects identify application or your currently working application?pls give me answer..

1517


They asked by using qtp recording writing scripting

2072


Explain QTP using different development techniques ?

542


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

1910


1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?

1592






Hi All, How to get repeated word in string . Thanks Balaji

943


Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.

1773


How the exception handling can be done using quicktest professional?

545


How will you report the bug and explain the defect tracking sheet you handled?

2558


What is the descriptive programming?

1516


Approach for Installation,comaptibility,system testing

1710


Name the properties you would use for identifying a browser and page when using descriptive programming?

527


Discuss the QTP Environment?

632


How to change the priorities of the recovery scenario properties?

595


In qtp, explain what is qrs file?

587