Viewing the test results

Run a test using your C#-coded action, and ensure that it properly interacts with the target application.

Before proceeding, ensure that you have:
After creating the C# bundle harness to implement the custom action get list view row value action, and writing a test case to invoke the user-scripted action, you can execute the test and verify the results:
  1. If you have not already done so, start the Music Library application by selecting Start > All Programs > TestArchitect > Samples > Music Player Application.
  2. In the application, click on the Search tab.
  3. In the Search criteria panel, select Under 4000 Kb for the File size.
  4. Click Search. The Results panel is populated with a list of songs matching the search criteria.

  5. In TestArchitect, open the test module containing the get list view row value action you created in the lesson.
  6. With your test module displayed in the TestArchitect editor, click Execute on the toolbar.
    The Execute Test dialog box appears.
  7. Click Automation Tools. The Automation Tools dialog box appears.
  8. Select CSharp_Harness from the Playback Tool options.
  9. In the Executable(s) text box, browse to () to the TestArchitect.Harness.Executor.exe file. By default, this file is located at <INSTALL_DIR>\harness samples\csharp\executables, once TestArchitect is installed.

  10. Click OK to return to the Execute Test dialog box.
  11. Optional: In the Test Modules panel, expand the tree and select only test case TC 02 check box.
  12. Click Execute to run the test.
Upon completion of the test, the results are displayed. Click on the Result details page and expand the final action line to view the value returned by the user-scripted action.