How do I check Java code or Visual Basic p-code run in Internet Explorer?

You must first run Microsoft Internet Explorer 4.0 or later (Iexplore.exe).

1.    In the Run Program dialog box, use the Program name browse button to locate Iexplore.exe, or type the complete path to Internet Explorer in the Program name edit box. For example, C:\Program Files\Internet Explorer\Iexplore.exe.

2.    Click Run in the Run Program dialog box. PureCoverage starts Internet Explorer.

3.    Launch your Java code or Visual Basic p-code to start collecting coverage data for it.

Note:

§      To monitor Java code or Visual Basic p-code launched from Internet Explorer with the Active Desktop installed, you must pass the -new argument to Internet Explorer. For example, to monitor from the command line, type coverage /java <path to IE>\iexplore.exe -new. The -new argument causes a new Iexplore.exe process to start before monitoring your code. Without this argument, the code is run by the current desktop explorer and no coverage data is collected. To check whether the Active Desktop is installed, right-click your desktop and select Properties from the shortcut menu. If the Active Desktop component is installed, the Properties dialog box has a Web tab.

(C) Copyright IBM Corporation 1993, 2010.