What is QuickTest Automation Object Model? Where we can use AOM?

Answer Posted / sonal.pagare

It's a way to write scripts so as to automate your QuickTest
operations.

This is a small list of places (but not limited to) where we
can use AOM. Thumb Rule - Use it at any place where you find
yourself doing repetitive tasks while using QTP.
• AOM can come handy when you have a large no of scripts to
be uploaded to QC. A simple script can save you hours of
manual work!
• Use AOM to initialize QTP options and settings like
add-ins etc.
• You can use AOM to call QTP from other application: For
ex: You can write a macro for calling QTP from excel.
Caution: AOM should be used outside of QTP and not within
the script (during playback). Though there is no harm using
it inside but some of the AOM statements might fail.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538

3618


wt is the use of multiple questions in QTP

1680


Explain the check points in quicktest professional (qtp)?

560


Hi, How Accessibility checkpoint in QTP can be implemented in the test script?

1610


how do i know how to use tools

1455






Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.

2105


What are the different types of recording modes?

540


iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?

1605


Diff b/w Health care domain and Banking Domain?

4219


How do client side image and server side image work?

1392


is it possible to add sheets to excel at runtime

3236


What is quicktest professional (qtp)?

567


What is data driver in qtp?

578


Tell me about qtp?

542


How can you identify the browser and its information using QTP script?

550