Recording Test Steps with Recorder for Android: An Overview


With Testsigma, you can either write your test steps using NLPs or use the recorder to record your test steps and generate automated android tests. This article discusses how to record test steps for Android using the recorder.


Prerequisites:


Steps to Record Test Steps for Android Using Recorder

  1. Navigate to Create Tests > Test Cases, click on Create Test Case. Test Case Page
  2. On Test Case details page, click on Record Test Case Details
  3. An overlay of Record test steps pops up. Select Test Lab, Test Machine and upload the application you want to test. Overlay
  4. Click on Record. Record
  5. The recording screen will have two sections:

    • Device Controlling Section DCS
    • Test Steps Section Test Step Section
  6. Let’s review all the options available in the Device Controlling Section.

    • Mirroring mode: Mirror mode will allow you to use the app via Testsigma to mirror real live physical device use. Mirroring Mode
    • Select Element: You can click on elements and get more information about them. Select Elements For example, if we click on Login, the information will be displayed under the section Selected element attributes. If you click on Tap, the step recorder will create the step as Tap on Login. Tap
    • Swipe By Coordinates: The swiping action will be recorded with this option. Swipe by Coordinates
    • Tap By Coordinates: It lets you click on an element on the screen and record the coordinates of the click. Tap by Coordinates
    • Search Element: This option can be used to search for an element in the app source. Select Elements
    • Go back: This button records the “go back” action from the current screen. Go Back
    • Home: This button displays the home screen of the device. Home
    • Hide Keyboard: This button lets you hide the keyboard in the application. Hide Keyboard
    • Change to landscape mode: This button lets you switch between landscape and portrait mode. Change to Landscape Mode
  7. The Test Steps Section will display the actions performed on the device.