Micro Focus QTP (UFT) Forums
What is the use of AOM ? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: What is the use of AOM ? (/Thread-What-is-the-use-of-AOM)



What is the use of AOM ? - kirangoud - 03-16-2012

HI,

Can any one help me

In which situations we use Automation Object Model and what are the benfits of using Automation Object Model.


thanking u
kiran


RE: What is the use of AOM ? - sshukla12 - 03-16-2012

Hi,

The QuickTest Automation Object Model provides objects, methods, and properties that enable you to control QuickTest from another application.
The new QuickTest Professional Automation Object Model enables you to automate test management.
You can now control virtually every QuickTest feature and capability using the objects, methods and properties included in the QuickTest Professional Automation Object Model. Automation scripts make it easy to perform any QuickTest operation multiple times in multiple tests without having to open the QuickTest application, for example,
You can write a script that modifies the test object description properties in the Object Identification dialog box and performs an update run on all tests in a specified file folder.
After installing a new add-in, an automation script can associate this add-in to all relevant tests.
You can write an automation script to run a selected batch of tests. For each test, you can retrieve the associated add-ins list. Then, if the necessary add-ins are not already loaded, you can close QuickTest, load the necessary add-ins, reopen QuickTest, and run the test.
You can define your settings for a test in QuickTest, then click “Generate Script” in the Generate tab of the Test Settings dialog box to generate an automation script based on the current test settings. You can then apply those same settings automatically to multiple tests using the whole automation script or excerpts from the generated file.

Regards,
Sankalp


RE: What is the use of AOM ? - kirangoud - 03-16-2012

Thanq sankalp

It is very helpful to me.....


In real time where we use AOM can you please give me one example.


regards
KIRAN


RE: What is the use of AOM ? - sshukla12 - 03-16-2012

Hi,
U can create a .vbs file which will open the qtp, make it visible apply all the settings and run ur test with saving the test result and u don't have to open the qtp for this.

Regards,
Sankalp


RE: What is the use of AOM ? - kirangoud - 03-16-2012

Yes, Thanq very much,

regards
KIRAN


RE: What is the use of AOM ? - sshukla12 - 03-16-2012

U r welcome.Smile

Regards,
Sankalp