Here, we shall explain the basic method of creating a test using the MagicPod mobile app version.
1. Flow of basic test creation
For those who would like to view a video for a simple understanding of how to create a test, you can see it here.
If you would like to understand in detail in document form, keep on reading.
First, move to the test case page create in 1. Account Creation and Basic Setup, and click “Edit test case”.
Click the “Settings▼” button on the top-right.
Here, you can set the environment, device, and app that you wish to launch.
When using a file you have locally, click “Upload”.
*For iOS, either have your app developer prepare the App file, or refer to the following article to generate and retrieve the App file based on the app source code.
Once the upload is complete, click the “Launch” button on the top-right.
On doing so, your device screen will open in the MagicPod screen. This is known as the Cloud device in MagicPod.
Starting Element inspection mode.
If you do this, the input items and buttons on the page to be tested will be detected, and you will be able to select them. These are known as the UI elements in MagicPod.
Drag the UI elements you wish to use to the left. If you do this, a command(step) is added to operate the UI elements you have selected.
You can just keep adding them!
In case of commands for which values are required, such as “Text input” in the step, enter the value.
Incidentally, you can right-click to delete, cut, copy, and insert steps.
You can also easily rearrange the steps by dragging them.
So click the “Run” button to run the test.
Test is running...
Even if you move to a new page, it will automatically detect elements, so you can just keep adding UI elements.
Run more. Place the cursor over the “Success” button and “Rerun.”
So, let us run the whole test. If you end Element inspection mode,
a number will be displayed on the steps.
If you click the “(Re) run” button in this state, everything will be run again from number 1.
If it succeeds, click the “Detail” and check the test results.
The report will be created automatically.
Test run log
Test run information
By configuring this further, you can check the Device log.
1-3. UI and UI elements, etc.
In MagicPod, the screen information when creating the test is saved as a UI. Check this UI. Click the “UI list” mark on the “UI image” tab.
By selecting the various UIs, you can add UI elements from the saved UI and create steps without launching the Cloud Browser.
If you drag them to the shared UI area, they can be used as a separate test case.
You can change this by clicking on the name.
If you click on the UI element, you can rename it.
If you click “Add new line,” you can add other commands. After adding UI elements, commands can be changed via ▼.
You can facilitate easier management by organizing and adding comment commands.
Now, we shall continue to Part 2.