Robust and repeatable testing improves any software development project. If you’re creating a mobile app, testing is especially critical given the unpredictable range of end user devices and location variables. Altova MobileTogether includes sophisticated Automated Testing features that let developers:
You can even modify the app to fix a bug and run the test case again to validate the results of changes, which makes this an indispensable QA tool for your mobile app development process.
Let’s look at an app that uses GPS, where running a test case can influence a design decision.
The Start Geolocation Tracking action in the MobileTogether Designer allows the developer to choose GPS + Network tracking or GPS only tracking. We can test the app using both variations and compare results.
Here are screenshots of the GPS app running on an Android phone and iPhone:
The app workflow waits for the user to turn on GPS tracking, then captures a single location via the Update Location button. The app records the location and turns off GPS tracking again to save battery power and data transfer until the user wants to record another set of coordinates.
Test cases are recorded, played back, and managed via MobileTogether Designer menu options or toolbar buttons located directly above the Design window.
We set the action of the Turn On GPS radio button for GPS only tracking, then recorded a test case in the Simulator that captures two data points. Since the Designer workstation is not likely to have geolocation hardware, the first test run used a datafile of coordinates to simulate GPS data.
Next, we deployed the app and the Test Case to our MobileTogether Server:
Then we activated the test case on the MobileTogether Server via the Server Web interface and selected playback and data recording options:
Activation on the Server allows the automated test case to run on any connected client device. We ran once on an Android and once on an iOS device.
All defined test cases remain linked to the app even as the developer makes revisions. We went back into the app and changed to functionality of the GPS radio button to activate GPS+Network location tracking.
We replayed the test once more in the Simulator, deployed the new version of the app to the MobileTogether Server, and ran the test again on both client devices. Now we have six test runs available to examine in the Manage Test Cases dialog:
Red tiles in the image above denote variations in test run results.
Comparing results of the two Android phone test runs showed only a very small difference in coordinates captured with both GPS settings, as seen in each comparison window:
The iOS phone also captured different coordinates on its test runs:
Execution of saved test scripts allows app developers to:
Get started with automated testing for your own cross-platform mobile apps. The MobileTogether Designer is free to download and use!
The recruitment picture is changing rapidly, and AI in recruitment is at the forefront of…
Multimodal AI is a groundbreaking technology that combines multiple modalities, such as text, images, and…
Artificial intelligence (AI in the energy) sector is revolutionizing how we produce, distribute, and consume…
Nowadays, monetization application is the end game of mobile app development. Whether you're an indie…
Nowadays, many mobile apps fail to make an impact. From poor research to bad user…
Apple's VisionOS, the operating system powering the Vision Pro headset, is paving the way for…