Before you can record a
Silk4NET test, you must have created a
Silk4NET project.
To record a new test for a web application on
Mozilla Firefox:
Select the project to which you want to add the new test.
In the toolbar, click
Record Actions.
The
Add New Item dialog box opens.
Select
Silk4NET Test.
Type a name for the new test into the
Name field.
Click
Add.
In the
Select Browser dialog box, select the browser that you want to use.
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.
Optional:
Select an
Orientation for the browser window.
Click
Record.
The
Interactive Recording window opens and displays the web application. Perform the actions that you want to record.
Click on the object with which you want to interact.
Silk4NET 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.
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.
Optional: If the action has parameters, type the parameters into the parameter fields.
Silk4NET automatically validates the parameters.
Click
OK to close the
Choose Action dialog box.
Silk4NET adds the action to the recorded actions and replays it on the mobile device or emulator.
During recording,
Silk4NET 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.
Click
Stop.
The
Record Complete dialog box opens.
Click
OK.
Replay the test to ensure that it works as expected. You can modify the test to make changes if necessary.