Skip to main content

SeeTestAutomation - Dynamic Native Recording

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

The Dynamic Native Recording mode can only be used for applications that appear in the Application Manager (i.e., applications which are instrumented). It uses Dynamic Objects/Elements (NATIVE or WEB only, depends on the element) to operate on the element.

To record a script in the Dynamic Native Recording mode:

Step 1: To start recording a script on a mobile device with the Native recorder, you need to have your mobile device connected by USB to your computer, and have the device screen then appear on your computer screen. (For device connectivity instructions please follow our Connect Device instructions in this manual.) Have the application instrumented and installed on the device (see "Native Application Instrumentation" for iOS and Android).

Step 2: In SeeTestAutomation, go to the "Test" tab and click on the "record" button.

Step 3: In the Recording dialog box now displayed, set the following parameters:

  • Device to be recorded.
  • Recording Type - for Dynamic Native recording, select:
    • Instrumented Application to begin recording a new script select the New Application radio button or Continue Current Application to resume recording an already launched instrumented application.
  • Application for which you are recording the script.
  • Dynamic Recording to perform Dynamic Native Recording.

Step 4: The application will then be launched on your device. Go to the device screen appearing on your computer screen, and do the exact sequence of actions you want in the test. In this example, we would like to run a test in Amazon that opens the main-menu, chooses 'Today's Deals', goes back to the application's homepage and verifies that it is the homepage by verifying that the 'Welcome' Object is found.

  • Some recommendations regarding the recording:
    1. Click the center of the image/icon/link
    2. Record slowly

Step 5: Return to SeeTestAutomationand click on the "stop recording" button.

 

Step 6: You will see a progress bar indicating that the recorded data is being analyzed, and the test script will then appear in the Script area.

info

Note: The script you recorded can be edited later on. (please refer to the "Edit Test Commands" & "Edit Test Objects" section in the guide for instructions on how to edit).

info

Note: The second step (after setting the device under test) is launching the application in instrumented mode, and there is no need to do so manually as this happens automatically.

Step 7: Click the Play button to run the script.

Dynamic Settings Recording:

Description: The Settings Recording feature gives you the option to record in a Native Dynamic way, without picking an application to launch first. This recording will be based on Non-Instrumented Native recognition and is recommended for scripts that will automate action on the device's springboard or other system pages (hence the name Setting Recording).

danger

Note: This feature is only available for devices that are using Android version 4.1 and above and iOS 7 and above.

To use this feature, select Non-Instrumented Native Recording as the Recording Type field after you have launched recording: