An application configuration defines how
Silk4NET connects to the application that you want to test.
Silk4NET 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.
-
Click
Silk4NET and choose
Edit Application Configurations.
The
Edit Application Configurations dialog box opens and lists the existing application configurations.
-
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.
-
To remove an application configuration, click
Remove next to the appropriate application configuration.
-
To edit an application configuration, click
Edit.
-
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.
-
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.
-
To test a web application or a mobile web application, if you have not set an application configuration for the current project, 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.
-
If you are testing a web application, type the web address for the web page to launch when a test begins into the
URL to navigate text box.
-
To detect any visual breakpoints for a web application, click
Analyze.
For additional information, see
Detecting Visual Breakpoints.
-
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.
-
Optional:
Select an
Orientation for the browser window.
-
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.
-
Click
OK.