Deep Patel: Solution for ActiveX error in Automation Object Model code

Thursday, August 11, 2011

Solution for ActiveX error in Automation Object Model code

Many of us experiences the AOM fails to create QTP object to launch and invoke tests and getting ActiveX object error popup.



Active X error will happen due to delay in License Checking. It will resolve, If you Follow below steps.


Navigate to Start>Control Panel>System>Advanced Tab>Environment Variables



1. “LSHOST” variable and click on Edit button.

2. Change variable name from “LSHOST” to “LSFORCEHOST”.

3. In variable value edit box instead of name enter IP address of License server.



Do this for both ‘User variables’ & ‘System variables’.

No comments:

Post a Comment