Partager via


Testing an Application with the Application Verifier Tool (Windows Embedded CE 6.0)

1/6/2010

After you start the Application Verifier tool and set up the testing environment, you can use it to test an application on a target device. For applications, the test settings take effect when the application is loaded into memory, so you cannot attach to a running process. For information about running the tool, see Running the Application Verifier Tool.

Note

To provide informative test results, Application Verifier requires .map files for the shims that you use to test an application. If the target device does not have access to the .map files for the shims, copy them to the release directory before using Application Verifier. If the target device does not have access to a release directory, copy the .map files to the location of the files for the application you are testing.

To test an application with Application Verifier

  1. In the Windows Embedded CE Application Verifier window, choose Add.

  2. Navigate to the directory containing an .exe or .dll file to test, select the file, and then choose Open.

    - or -

    In any directory, type the name of a file to test, and then choose Open.

    You can type the name of a file even if the file does not exist in the directory.

  3. In the Applications list, select the name of the application you want to test.

  4. In the Test settings list, select the shims that you want Application Verifier to run when the tool tests the application.

    Settings take effect the next time you run the application. If you apply settings to an application while the application is running, the settings do not take effect until you run the application again. For information about the shims that you can select, see Shims Provided with the Application Verifier Tool.

  5. Click Connect to attach to the device and download the test environment settings. Or, if your device is connected to Platform Builder, the relfsd component will automatically download the settings to the device when the device is attached.

  6. Launch your application.

  7. To collect a broad range of data while Application Verifier tests an application, use all of the functionality of the application during the test.

  8. To finish the test, close the application. Application Verifier will automatically generate test results only when the process exits.

You can view the results of a test in the Windows Embedded CE Application Verifier window. For more information about viewing test results, see Viewing Test Results from the Application Verifier Tool.

After you configure Application Verifier to test an application, the test settings that you specify remain active until you remove the file name from the Applications list. You can test an application multiple times with the Application Verifier tool.

See Also

Other Resources

Application Verifier Tool