Modifying an Application Configuration

An application configuration defines how Silk Test Workbench connects to the application that you want to test. Silk Test Workbench 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.

Depending on what you are testing, Silk Test Workbench provides application configurations that are associated either with an entire project or with a specific visual test or VB .NET script.

  1. To modify an application configuration that is associated with an entire project:
    1. Select ToolsEdit Application Configurations from the Silk Test Workbench menu. The Select Project dialog opens.
    2. Select the project from the list.
    3. Click Edit. The Edit Application Configurations dialog opens.
    4. Click Edit next to the appropriate application configuration
  2. To modify an application configuration that is associated with a specific visual test:
    1. Open the visual test.
    2. Click the <<Start>> step in the Task pane.
    3. Navigate to the Application Configurations category in the Properties pane.
    4. Click the application configuration that you want to modify.
    5. Click Edit Application Configuration.
  3. To modify an application configuration that is associated with a specific VB .NET script.
    1. Open the VB .NET script.
    2. Navigate to the Application Configurations category in the Properties pane.
    3. Double-click on the application configuration that you want to modify.
  4. To add an additional application configuration that is associated with an entire project, 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.
  5. To add an additional application configuration that is associated with a visual test:
    1. Open the visual test.
    2. Click the <<Start>> step in the Task pane.
    3. Click on the Application Configurations category in the Properties pane.
    4. Click Add Application Configuration.
  6. To add an additional application configuration that is associated with a VB .NET script:
    1. Open the VB .NET script.
    2. Right-click into the Properties pane.
    3. Select Add Application Configuration.
  7. To remove an application configuration that is associated with an entire project, click Remove next to the appropriate application configuration.
  8. To remove an application configuration that is associated with a visual test:
    1. Open the visual test.
    2. Click the <<Start>> step in the Task pane.
    3. Navigate to the Application Configurations category in the Properties pane.
    4. Click the application configuration that you want to remove.
    5. Click Delete Application Configuration.
  9. To specify an executable, type the full path to the executable into the Executable field.
    Note: If you are testing a web application, and you want to specify an executable for the browser, select the custom browser type.
    For example, to start Mozilla Firefox, type C:\Program Files (x86)\Mozilla Firefox\firefox.exe.
  10. 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.
  11. 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.
  12. 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.
  13. If you are testing a web application, type the address of the web application into the Navigate to URL text box.
  14. To detect any visual breakpoints for a web application, click Edit Browser Sizes. For additional information, see Detecting Visual Breakpoints.
  15. 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.
  16. Optional: Select an Orientation for the browser window.
  17. 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.
  18. 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.
  19. Click OK.