Recording a Test on Microsoft Edge

This functionality is supported only if you are using the Open Agent.

Before you can record a Silk Test Classic test, you must have created a Silk Test Classic project.

When starting the interaction with a web application on Microsoft Edge, Silk Test Classic closes any open instance of Microsoft Edge and starts a new browser. This new browser uses a temporary profile without add-ons and with an empty cache. This instance of Microsoft Edge is closed when shutting down the Open Agent or when starting to test another application outside Microsoft Edge.

Note: You can currently not record keyword-driven tests on Microsoft Edge.
To record a new test for a web application on Microsoft Edge:
  1. Select the project to which you want to add the new test.
  2. In the toolbar, click Record Testcase.
  3. Type a name for the new test into the Testcase name field.
  4. Click Start Recording.
  5. 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.
  6. Optional: Select an Orientation for the browser window.
  7. The Interactive Recording window opens and displays the web application. Perform the actions that you want to record.
    1. Click on the object with which you want to interact. Silk Test Classic performs the default action for the object. If there is no default action, or if you have to insert text or specify parameters, the Choose Action dialog box opens.
    2. Optional: To chose an action for an object, which might not be the default action, right-click on the object. The Choose Action dialog box opens.
    3. Optional: If the action has parameters, type the parameters into the parameter fields. Silk Test Classic automatically validates the parameters.
    4. Click OK to close the Choose Action dialog box. Silk Test Classic adds the action to the recorded actions and replays it on the mobile device or emulator.
    During recording, Silk Test Classic displays the mouse position next to the recording window. You can toggle the location to switch between displaying the absolute mouse position on the device display and the mouse position in relation to the active object. For additional information about the actions available during recording, see Actions Available During Recording.
  8. Click Stop. The Record Testcase dialog box opens.
  9. Perform one of the following steps:
    • Click Paste testcase and update window declaration(s) and then click OK. In most cases, you want to choose this option.
    • Choose Paste testcase only and then click OK. This option does not update the window declarations in the INC file when it pastes the script to the Editor. If you previously recorded the window declarations related to this test case, choose this option.
  10. Click OK.

Replay the test to ensure that it works as expected. You can modify the test to make changes if necessary.