Configuring a Visual Test to Launch in a New Browser Window

At times you may want to launch a separate browser window for a visual test rather than using the existing browser window. For instance, when you execute a Silk Test Workbench visual test from Silk Central Test Manager, the test uses the existing Silk Central window. To return to Silk Central, the user must click Back in the browser window. To avoid this behavior you can configure your test to launch a separate browser window for tests that you will execute from Silk Central.

  1. Record a visual test for the application that you want to test.
  2. In the Test Steps pane, click the <<Start>> step.
  3. In the Properties pane, navigate to the Application Configurations category.
  4. Click the Application Configurations field and then click Add Application Configuration. The Select Application dialog box appears.
  5. Click into the application configuration and click Edit Application Configuration. The Edit Application Configuration dialog box appears.
  6. From the Browser Type list, select the browser to use.
  7. Uncheck the Execute Base State check box.
  8. In the Test Steps pane, choose Insert > External Program. Silk Test Workbench adds Run program " (Show normal) to the Test Steps pane.
  9. In the Properties pane, navigate to the Command category.
  10. Click into the Path name field and click Select file. The Select file dialog box appears.
  11. Navigate to the executable file for the browser, and then click Open. For example, to use Internet Explorer, specify C:\Program Files\Internet Explorer\iexplore.exe.
  12. Verify that the Operation list box specifies Open.
  13. Type the URL of the web application that you want to test into the Parameters field. For instance, to test the sample web application, type http://demo.borland.com/InsuranceWebExtJS/index.jsf.