Automate Mobile App Testing with AI Testing “MagicPod”!
Testing is always a burden in smartphone app development, and since UI and UX are involved, many people are encouraged to test before release. MagicPod can automate testing and reduce the cost.
In this article, we introduce MagicPod, a test automation platform.
It uses AI to detect screen elements and is compatible with Monaca applications.
How Does MagicPod Run Tests
MagicPod uses “Appium” for testing.
Appium is a software application version of Selenium, but we feel that the setup and familiarization costs are relatively high.
MagicPod eliminates this cost and allows you to create tests graphically, which is a significant advantage.
Create Test Scenario using MagicPod
First, upload the app to be tested.
For iOS, specify an IPA file. For Android, set an apk file.
You can upload an app built with Monaca or with a URL.
The devices running on the cloud are iOS simulators and Android emulators, allowing a wide selection of device types and operating systems. Various iPad and Pixel-based devices are available.
Connect to a mobile device in the cloud
After uploading the application, connect to the cloud terminal.
You can also use a local connection using the dedicated desktop application.
Set Up Actions
Once the UI is displayed, it starts analyzing the screen elements.
Analysis when using WebView is also possible, but it seems to take longer.
In the case of the application using Framework7, MagicPod detected elements without using WebView-based analysis.
Once the element has been detected, drag and drop the stuff to the left side.
Then set up events such as tapping or typing.
The next step is to execute that event to move to the next screen or enter information.
Repeat these steps to create a test scenario.
Running the Tests
Once you create the test scenario, all that remains is to run the tests.
You can check the results on the MagicPod administration screen.
If there are no errors in the test scenario, the test can be run headless (without looking at the terminal screen) from the management screen.
Multiple terminals can be registered, allowing testing on several iOS/Android devices.
Mobile Device Settings
You can specify the mobile device for OS, location information, and environment variables.
You can also change the device’s language, so you can use it to check operations in multiple languages, such as English and Chinese.
While the test is running, screen capture is automatically taken.
The image can also be specified to be taken only when there is an error.
Creating a test scenario for an app takes time and effort, but once created, you can repeat the test.
Why not consider using it to improve the quality of your app?