The narrow use of extended reality, primarily centered on entertainment, has expanded its limits. Today, it offers endless possibilities for education, training, e-commerce, engineering, and many more.
Still, nowadays, not that many companies are prepared to implement this technology yet. But the active development of Web 3.0 and Metaverse demonstrate that XR integration is inevitable. Thus, QA engineers should learn how to work with innovative solutions for any niche.
Augmented reality is a great starting point for businesses. Because XR is relatively new to both enterprises and users, AR provides a simpler solution to customer demands. However, there is nothing simple about testing AR. But with practice and some insights, it will become easier.
First, let’s start by clearly defending AR and separating it from other realities.
So, in simple words, augmented reality is the combination of a physical setting and virtual information generated as an added layer.
To better understand what awaits QA engineers testing AR apps, it is important to know how such software works. Almost any AR app embraces 4 core principles:
This involves scanning the live setting via a camera-equipped device. So, the app needs to ‘navigate’ the scene it should work in. Think IKEA Place. It uses this particular function to view users’ apartments and add selected objects on top.
In order to show virtual content, the app needs to find the subject/place upon which to overlay it. For instance, Instagram filters are able to precisely recognize a human face and display images on needed features. And thanks to that anchor, you can move around, and the filter will follow.
Because AR apps are used in 3D environments, they should demonstrate accurate images in real-time. Take Machine A’s virtual store. As the user ‘steps into’ the space, the app constantly updates its visuals to display a corresponding section.
To not ruin the immersion, there should be a continuous connection between the two worlds. Even when the user explores the app in various conditions for a prolonged period. For example, Pull & Bear’s Pacific Game is intended for lengthy engagement, thus, must function steadily.
Best practices for AR software testing services are still work-in-progress. So, for now, the best approach is trial and error. Hence, AR introduces a few specific challenges you should be prepared for.
AR relies on both creativity and the real world. With this comes the most prominent difficulty with AR app testing – the near-infinite number of environments. Ensuring correct data projection for different surfaces, structures, objects, lighting, etc., and the three-dimensional view can get time-consuming.
What makes an AR app practical or fun is its live tracking. Location, motion, movement direction, and device rotation must be interpreted appropriately at all times. AR software can use infrared light, sensors, or GPS data to assure defect-free superimposition. But even with these, fast transitions can become a challenge.
The amplified usage of AR translates to an increase in implementation options. OSs, screen resolutions, camera capabilities, etc., are still to be checked. But the shift from mobile hardware to smart glasses, kiosk systems, installations, etc. makes AR technology testing quite demanding. For this, emulators and cloud devices can be of great assistance. Yet they offer rather limited experience when it comes to AR.
To test augmented reality applications, you should be prepared for extra effort. But even with the peculiarities of AR testing, there are some traditional aspects to it.
You should consider a few unique aspects when providing QA services for an AR app.
Regardless of the space an AR app is used in, an empty room, a furnished apartment, public space, safety should take precedence. As a QA engineer, you should study how an app behaves in different weather, lighting, and locations. So, to protect your users, engage your creative side and think of as many use scenarios as possible.
Also called cybersickness, it is quite common among XR users. Frontiers reports that up to 95% of consumers experience it in some form (from headaches to emesis). Users may ignore minor symptoms. In such a case, prolonged AR usage can lead to more serious issues. For instance, initial eyestrain, common with AR, can develop into myopia. Thus, it is sensible to test the safety mechanisms present within the app. It can be occasional notifications (a reminder to rest) or extended experience optimizations (change of scenery, color adjustments, etc.).
AR apps are rather demanding when it comes to battery use. But you do not want users sticking to a wall with an outlet. Noting how an app works on low charge, whether it runs not-currently-in-use functions in the background, or monitors CPU state can help identify solutions to the issue (as per ARCore). Options for performance improvement should be customized and provided to users in a timely and non-invasive manner.
Currently, there is no standardization for AR testing. But there is a framework that can be useful. Let’s go over it step by step.
It is where every testing starts. If you do not know your app, there is no proper way to test it. The more familiar you are with the software, the more you will be able to do for it as a QA engineer. Learn the app’s functionality and goals. This will be essential for creating use/test cases.
This may be a bit of a non-standard step, but it will come in handy during testing. For example, if you are working on an AR training app for pilots, if there is a mislabeled/misrepresented component, this can become an issue. Best-case scenario – users will point out the flaw, which would compromise their trust. Worst-case scenario, their education will be negatively impacted.
Preparing devices and spaces needed for testing will help you immerse yourself into the intended consumers’ world. By stepping into the shoes of potential users, you will be able to better understand their needs and usage options.
You should clearly understand what to test. Environment scanning, object registration/tracking, data appropriateness, input variety, etc. Determining your initial focus area will help you think through potential test scenarios and devise suitable test suits.
When deciding what testing to perform, you need to consider the project mission (in case there is no document outlining this). For instance, you might not need to run compliance testing when working on an app similar to Snapchat City Filter. While the opposite would be true for something like AR-throscopy (arthroscopy simulator for med students). So, prioritize your tasks and do not try to do everything at once.
Most likely, you will not be the only one new to AR. Partnering up with other members, whether from QA or dev teams, can help you learn faster. And by consulting with more skilled experts, you can gain first-hand insights into the essentials of AR app testing.
There is no golden rule for AR testing. Currently, the top solution is ‘mess around and find out’. After all, there is no better way to test an AR app than actually using it. And with a little bit of creativity, you will be able to predict user thinking and behavior. Thus, writing better test cases and, ultimately, enhancing the app’s quality.
It may be a bit overwhelming when first trying AR testing. But it is true for any novel undertaking. Remember, doing your best is the best anybody can do. And as a QA engineer, your goal is to help produce an app with no critical defects. The rest will sort itself out.
Good luck, and keep learning.
The saturated mobile app market makes businesses constantly reimagine the definition of quality. This never-ending…
Over half of the software companies use test automation. And almost all testing pros rely…
Imagine studying a language without dictionaries or manuals. Could you learn what each word means…
For QA engineers, learning is a never-ending journey. While you can always expand and refresh…
Everyone can write decent functional test cases. Writing documentation for functional testing services that have…
Automation is now a priority. Nearly all QA specialists write automation scripts for their projects.…