This functionality is supported only if you are using the Open Agent.
Configure the web application that you want to test to set up the environment that
Silk Test Classic will create each time you record or replay a test case. If you are testing a web application or an application that uses
a child technology domain of the xBrowser technology domain, for example an
Apache Flex application, use this configuration.
-
Click
Configure Applications on the basic workflow bar.
If you do not see
Configure Applications on the workflow bar, ensure that the default agent is set to the Open Agent.
The
Select Application dialog box opens.
-
Select the
Web tab.
-
Select the browser that you want to use from the list of available browsers.
If you want to record a test against a web application, select a browser that is supported for recording. To see which browsers
are supported for recording, refer to the
Release Notes.
-
Specify the web page to open in the
Enter URL to navigate text box or click
Use URL from running browser.
-
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.
-
Optional: Check the
Create Base State check box to create a base state for the application under test.
By default, the
Create Base State check box is checked for projects where a base state for the application under test is not defined, and unchecked for projects
where a base state is defined. An application’s base state is the known, stable state that you expect the application to be
in before each test begins execution, and the state the application can be returned to after each test has ended execution.
When you configure an application and create a base state,
Silk Test Classic adds an include file based on the technology or browser type that you enable to the
Use files location in the
Runtime Options dialog box.
-
Click
OK.
- If you have checked the
Create Base State check box, the
Choose name and folder of the new frame file page opens.
Silk Test Classic configures the recovery system and names the corresponding file
frame.inc by default.
- If you have not checked the
Create Base State check box, the dialog box closes and you can skip the remaining steps.
-
Navigate to the location in which you want to save the frame file.
-
In the
File name text box, type the name for the frame file that contains the default base state and recovery system. Then, click
Save.
Silk Test Classic creates a base state for the application. By default,
Silk Test Classic lists the caption of the main window of the application as the locator for the base state. Then
Silk Test Classic opens the Web page.
-
Record the test case whenever you are ready.