Imagine your app crashes in a tablet that you spent countless times preparing for a smartphone.
The tablet users would destroy your app like this monstrous vehicle. 😂
Isn’t it better to be aware of potential problems before they happen?
To solve the issue, Google has developed a great tool known as Firebase Test Lab that tests your app on a variety of devices and configurations.
Moreover, you can view useful details like:
It’ll help to create an app having fewer bugs than expected, hence better user experience.
Better user experience leads to a longer time on an app that ranks your app better in the Google Play Store.
The best thing I love about Firebase Test Lab is to run a Robo test that automates scans your app politely and comes up with a detailed report: logs, screenshots, and videos.
Why should I trust the report? A good question.
Yes, you should.
The reason is that your app runs on different devices hosted in a Google Data Center that indicates you’ll get the most accurate result.
Isn’t it great?
How it Looks like After Testing (Video)
12 Steps to Use Firebase Lab Test
Firebase Test Lab has many ways to test the app from basic to advanced, but I’ll cover here the Robo Test that is the easiest test you can conduct without writing a single line of code.
- First of all, login to the Console.
- Next, open your project.
- Afterward, click on Test Lab -> Browse for APK.
- Now find your APK file and open it. It’ll take some time to upload and analyze your app.
- When the APK file is uploaded successfully then click on Create a new test.
- Next, select the Robo test and click Continue.
- Next, click Browse and upload your APK file again.
- After uploading, the continue button becomes clickable, click on continue.
- Here, you can select devices, API levels, orientations of your own choices. I’m using three devices here Tecno KBB (API Level 29), pixel 2 (API Level 28), Samsung SM-T837V (API Level 28) with orientation (Landscape, Portrait). Afterward, click on Start Test.
- Note: These devices are real smartphones that are located in the data centers. We can test 5 real devices and 10 virtual devices in one day.
- Here you can see all devices just click on it.
- Afterward, you can see all the detailed reports regarding testing like test issues, logs, screenshots, videos, performance, crawl graph, etc.
For more understanding watch the complete video that is listed above.
How to Use the Firebase Lab Test for an Android Game (Loop Test)
The test can be difficult for games because gaming apps are built on different UI frameworks mostly.
It allows you to attach your native test with Firebase Test labs and run on your favorites devices you select.
Games Loop test runs your test through your app while simulating the actions of a real player. It shows you how to run your game test, view and manage your test result in the firebase console portion.
You can select single or multiple loops depending on your game engines.
Loop is a full or partial test of your test on your app.
You used the games loop test to achieve the following things:
- You can run a particular level of your game in the same way that the actual user plays. You can put the input script of the user, place the user in a free position, or you can replace the user with Artificial intelligence (AI) if it is suitable for your app. For example: Let’s suppose you have a racing game app and you have implemented AI in your app. You can easily put a driver (AI based) rather than putting an actual user).
- You can run your game in the highest setting just to see whether the device supports it or not.
- You can run a technical test (compile multiple shaders, execute it, check the output is expected or not, etc).
Ask any questions in the comment section below, our experts will be happy to help you at no extra cost.