Modifying an Application Configuration

An application configuration defines how Silk Test Classic connects to the application that you want to test. Silk Test Classic automatically creates an application configuration when you create the base state. However, at times, you might need to modify, remove, or add an additional application configuration. For example, if you are testing an application that modifies a database and you use a database viewer tool to verify the database contents, you must add an additional application configuration for the database viewer tool.
  1. Click Options > Application Configurations. The Edit Application Configurations dialog box opens and lists the existing application configurations.
  2. To add an additional application configuration, click Add application configuration.
    Note: Do not add more than one browser application configuration when testing a web application with a defined base state.
    The Select Application dialog box opens. Select the tab and then the application that you want to test and click OK.
  3. To remove an application configuration, click Remove next to the appropriate application configuration.
  4. To edit an application configuration, click Edit next to the appropriate application configuration.
  5. If you are testing a desktop application, type the name of the executable of the application that you want to test into the Executable Pattern field. The pattern is case insensitive and allows an asterisk (*) as a wild card, which matches any text of any length, and a question mark (?), which matches one character. For example, the executable pattern for Notepad is *\notepad.exe. All processes whose executable is named notepad.exe and that are located in any arbitrary directory are enabled.
  6. 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.
  7. If you have changed the Executable Pattern, open the .INC file of the application, which is located in the Include/Frame sub-folder of the project, and change the sCmdLine parameter to the full path to the new application under test.
  8. To test a web application or a mobile web application, select one of the installed browsers or mobile browsers from the list. You can also click Change to open the Select Application dialog box and then select the browser that you want to use.
  9. If you are testing a web application, type the address of the web application into the Navigate to URL text box.
  10. To detect any visual breakpoints for a web application, click Edit Browser Sizes. For additional information, see Detecting Visual Breakpoints.
  11. Optional: If you want to test a web application on a desktop browser with a predefined browser size, select the browser size from the Browser size list.
    For example, to test a web application on Apple Safari and in a browser window which is as big as the screen of the Apple iPhone 7, select Apple iPhone 7 from the list.
  12. Optional: Select an Orientation for the browser window.
  13. Optional: Click Edit Browser Sizes to specify a new browser size and to select which browser sizes should be shown in the Browser size list.
  14. 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 for a Mobile Device.
  15. Click OK.