Replaying Tests from Eclipse

  1. Navigate to the test method or keyword-driven test that you want to replay.
  2. Perform one of the following steps:
    • Right-click a package name in the Package Explorer to replay all test methods or keyword-driven tests in the package.
    • Right-click a class name in the Package Explorer to replay all test methods in the class . Or, alternatively, open the class in the source editor and right-click in the source editor.
    • Right-click a keyword-driven test name in the Package Explorer to replay the keyword-driven test.
    • Right-click a method name in the Package Explorer to replay a test for only that method. Or, alternatively, open the class in the source editor and select a test method by clicking its name.
  3. Choose Run As > Silk4J Test .
    Note: Choosing Run As > JUnit Test is not supported as it will disable many Silk4J features.
  4. If you are testing a web application, the Select Browser dialog box opens. Select the browser and click Run.
  5. Optional: If necessary, you can press both Shift keys at the same time to stop the execution of the test.
  6. When the test execution is complete, the Playback Complete dialog box opens. Click Explore Results to review the TrueLog for the completed test.