Quality

How to Use Firebase Test Lab (Visual Tutorial)

Pinterest LinkedIn Tumblr



Imagine your app crashes in a tablet that you spent countless time preparing for a smartphone.

The tablet lover users would love to 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:

  • Screenshots
  • Logs
  • Videos

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 is automated 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?

Enough talk.

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.

  1. First of all, login to the Console.
  2. Next, open your project.
  3. Afterward, click on Test Lab -> Browse for APK.Browse for apk
  4. Now find your APK file and open it. It’ll take some time to upload and analyze your app.
  5. When the APK file is uploaded successfully then click on Create a new test.
  6. Next, select the Robo test and click Continue.Robo test
  7. Next, click Browse and upload your APK file again.
  8. After uploading, the continue button becomes clickable, click on continue.Upload apk
  9. 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.
  10. 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.
  11. Now here you can seel all devices just click on it.open test app
  12. Afterward, you can see all the detailed reports regarding testing like test issues, logs, screenshots, videos, performance, crawl graph, etc.

test app in test lab explained

For more understanding watch the complete video that is listed above.

How to Use 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.
Mobile Apps Category (English)300x250
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 manages 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 play. 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 of multiple shaders, execute it, you can check the output is expected or not, etc).
Advertisements
W3Schools
Author

Hi there! I am Founder at FirebaseTutorials and AndroidBull. My skills include Android App Development. If you have any idea that you would want me to develop? Letโ€™s talk: waqas@firebasetutorials.com