Automation Object Model (AOM) statements be executed within a script

The Automation Object Model (AOM) was designed to be used outside of QuickTest Professional (QTP) / Unified Functional Testing (UFT)and not within a script (during replay).

Note:Some AOM statements may run in a script; others will generate errors. The AOM should not be used within a script tochange settings during the script execution.

If it were needed to change QTP/UFT’s settings using AOM statements, create a .VBS file to launch QTP/UFT and execute the test scripts.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s