Modifying the Base State

You can change the executable location, working directory, locator, or URL of the base state if necessary. For example, if you want to launch tests from a production Web site that were previously tested on a testing Web site, change the base state URL and the tests will run in the new environment.

  1. Click Silk4NET and choose Edit Application Configurations. The Edit Application Configurations dialog box opens and lists the existing application configurations.
  2. Click Edit to the right of the application configuration that you want to change.
  3. If you are testing a desktop application, type the executable name and file path of the desktop application that you want to test into the Executable Pattern text box. For example, you might type *\calc.exe to specify the Calculator.
  4. If you are testing a desktop application and you want to use a command line pattern in combination with the executable file, type the command line pattern into the Command Line Pattern text box.
  5. If you are testing a web site, type the address of the web application that you want to test into the Url to navigate text box.
  6. If you are testing a web site and you want to change the default browser, click Change to open the Select Application dialog box and then select the browser that you want to use.
  7. If you are testing a web site or a mobile native application on a remote location, for example on a mobile device that is connected to a Mac, and you want to edit the remote location, click Change to open the Select Application dialog box and then click Edit Remote Locations.
  8. If you are testing a mobile application or a web application on Apple Safari, type the connection string into the Connection String text box. For additional information, see Connection String.
  9. If you are testing a mobile native application, specify the name of the mobile application that you want to test in the Mobile app text box.
  10. Click OK.
  11. If the application under test usually takes a long time to start, increase the application ready timeout in the replay options.