Getting Started with Sofy
- 1. Upload your app
- 2. Set up your Release
- 3. Testing with Real Devices
- 4. Perform Adhoc Testing with Real Devices
- 5. Perform Manual Testing
- 6. Create Issues during Manual Testing
- 7. Integrate with your bug tracking system
- 8. Record and Playback of an Automated Test
- 9. Batch/On-Demand Execution of Automated Test Cases
- 10. Convert Manual to Automated Test
- 11. Understand Asserts
Welcome to Sofy! This document explains how to get started using Sofy, both for manual and automated testing.
1. Upload your app
The first step toward testing your app is uploading its APK or IPA file to Sofy. After logging in, select Add New and upload from there. Once uploaded, Sofy creates an application project using "App Package URL" as its name.
You can also upload a different version of your app using the same mechanism. In the latter case, a new package is not created. An entirely new version of the App is created instead.
2. Set up your Release
Next, create a Release. Select the Release Menu and provide a start and end date for the Release.
Please note that in order to perform manual or automated testing, you must first have a valid Release. A valid Release is one where the current date falls within the Current Release.
3. Testing with Real Devices
To test an App with a Real Device through Sofy, you must first acquire a Device using the Lab menu (See Understanding Device Lab).
When you acquire a Device, Sofy automatically installs the application on the Device and it is ready for you to start testing. What you see on in browser is the rendering of the screen of the Mobile Device. You can use Action to interact with the Device (for example, clicking the Home Button or turning on WiFi).
4. Perform Adhoc Testing with Real Devices
Adhoc Testing is the ability to perform quick and unstructured app testing using a real device . Here are the steps involved in performing Adhoc Testing in Sofy (see Adhoc Testing Using Sofy):
- Acquire a real device from the Device Lab for Testing (see Understanding Device Lab)
- The App is automatically uploaded to the device
- Note: You can override the App with a local version of the APK or IPA. To do so, use the Select App icon on the left and upload the local version.
- Once your app is uploaded, you may then perform Adhoc Testing.
- To capture Device Logs, turn on Device Logging (see docs).
5. Perform Manual Testing
Manual Testing differs from Adhoc Testing in the following ways:
- Manual Testing requires a Test Case
- Manual Testing automatically creates a Test Report at the completion of the Manual Test
- You create Bug Reports while performing Manual Testing. (Sofy automatically captures and converts any crashes into a Bug Report.)
- If you like, you can convert your manual test to a No-Code Automate Test Case
To perform a manual test, you first need to create a Manual Test Case (see Augmented manual testing). You can then execute the manual test.
6. Create Issues during Manual Testing
During Manual Testing, you can create an issue. To do so, click on the Create Issue Icon in the Action Bar. Provide the details of the issue there.
7. Integrate with your bug tracking system
You can set up Sofy to integrate with your bug or issue tracking system, so that when you enter a bug or issue in Sofy, Sofy automatically creates a corresponding ticket in the Bug/Issue Tracking System.
Sofy provides default integration with Jira and Azure DevOps, and also exposes APIs to integrate with other systems.
8. Record and Playback of an Automated Test
See the doc pages for information regarding recording an automated test. While you record the test, Sofy automatically creates no-code automation script for you.
Once recorded, the test can be executed on multiple devices and does not require changes when played back on a device with a different form factor.
Sofy also automatically handles dynamic content through its machine learning algorithms in scenarios when Element IDs are dynamically created.
9. Batch/On-Demand Execution of Automated Test Cases
With Sofy, there are two ways ways to execute Automated Test Cases, Interactive Mode and Batch Model.
The above example, called Interactive Mode, is used to observe the execution of the Automated Test in real time. This allows you to ensure that a newly created Automated Test Case behaves as expected. This mode is also useful for when you want to observe the results of a test in real time.
For scenarios where you want to execute multiple test cases in batch on a variety of devices, you can use Batch Model. This is a good way to perform regression Testing. This action is perform using the New Run Menu under Automated Test Runs Menu.
10. Convert Manual to Automated Test
One of Sofy unique capabilities is the ability to convert manual Test Runs to Automated Test Cases. To do so, select the Manual Test Run and, with a click of a button, convert it to an Automated Test Case.
11. Understand Asserts
Asserts are used to validate a particular functionality in a given UI, such as validating text, or the presence or absence of an image.
To create an Assert, click on the Assert Button in the Action Bar. This will allow you to enter the Assert Mode.
Once activated, you can select an element on the screen where an Assert should be placed.