Creating a Custom Test Type > Creating the Remote Agent

Creating the Remote Agent

Using Microsoft Visual Basic, create a new ActiveX EXE project in which to create a RemoteAgent. In Projects > References, check the "OTA COM Type Library."

Implement the methods and properties of RemoteAgent by pasting the Remote Agent Example and then make the necessary changes required by your testing tool.

In the class properties window, change the Instancing property to: 6 - GlobalMultiUse.

Choose Project > Properties and click the General tab. Change the project's name to a name of your choice, for example, MyRunAgent. Select Unattended Execution and Upgrade ActiveX Controls. In the same tab, in the Threading Model section, select the Thread Per Object option.

Click the Component tab and select Remote Server Files.

Save the project. These instructions assume you save it as MyRunAgent.

Choose File > Make MyRunAgent.exe to compile the class and register it with the Windows operating system.


© 1993 - 2013 Hewlett-Packard Development Company, L.P.