Creating an Automated Test

Updated by Jessica Holman

An automated test is a list of recorded steps that you can save and run automatically multiple times, on multiple different devices. Automated tests allow you to easily create and save a sequence of test steps, creating more efficiency with repetitive and automated testing across various devices.

To create an automated test case:

  1. Log in to your Sofy account. 
  2. Select Device Lab from the left navigation bar.
    Sofy home page with a callout over the Device Lab option in the left navigation bar.
  3. Locate the device you want to test, then select Acquire.
    The Device Lab page with a callout over the Acquire button under a device.
    Note: If a device is not available, the Acquire button will be grayed out. 
  4. Click Launch to open the device in a new window.
    The Device Lab page with a callout over the Launch button under an acquired device.
  5. Wait for the app to install, then click the Recording tab. 
  6. Select the Start Recording red button at far right. 
  7. Check the Auto-handle system dialogs box to allow Sofy to automatically handle any system dialogs that pop up. If you wish to handle the system dialogs as part of your test case, leave this option unchecked.
    Start a recording steps 5 through 7 called out.
  8. Select how you want to start the test:
    • Start Fresh: Refresh the device to its default state before testing.
    • Continue From Here: Record the test from the current state of the app.
      Recording options to Start Fresh or Continue From Here.
  9. Interact with the device on the left and perform the desired actions in your app. Each step will be recorded and listed on the right. 
  10. Once you’re done recording your steps, click Stop Recording & Save Steps at the bottom of the page.
    Device Lab page with a callout over the Stop Recording and Save Steps button.
  11. Choose Save as Test.
  12. Name the test, set the priority, and add a description. 
  13. Click Add Tag(s) if you want to assign tags to the test. Type the tag name in the field, then hit Enter to add the tag. 
  14. Select Save as Test
  15. Once the recording is saved, scroll through the test steps and click on each step to edit a target or action and add asserts.
  16. To validate your run and ensure the sequence of steps finishes, click Execute Test. The recording will playback on the device’s screen to the left.
  17. Click Done when you’ve finished reviewing and updating the test.

You can find your saved tests under the Automated Tests tab in the right panel.


How did we do?