Firebase
Products
Use Cases
Pricing
Docs
Support
Home
Products
Use Cases
Pricing
Docs
Support
The Firebase Blog
Customize your Firebase Test Lab Robo tests
January 26, 2017
Doug Stevenson
Developer Advocate
The
Firebase Test Lab
team is kicking off 2017 with some new features that make it easier for you to customize the testing of your Android apps. The following two enhancements are designed to save you time and money, so you can get the most out of Test Lab for your daily testing routine.
Sparse Device Matrix Selection
Previously, when selecting the combination of device and API levels, you were obliged to run against every possible valid combination of selected device and API level. For example, to run a test on a Nexus 5 and Nexus 7 on both API levels 19 and 21, the device selection matrix used to look like this:
The above selection would have scheduled the test on a matrix with a total of
four
combinations of device and API level. But what if I want to test against only
two
configurations: a Nexus 5 with API level 21, and a Nexus 7 with API level 19? With the old UI, that was not possible. However, with the new UI, you can easily get this behavior:
The above selection will only schedule the two selected combinations of device and API level. You are no longer obliged to test on
every
possible combination of selected device and API. With this new UI, you can now be much more specific about the configurations you want. This makes it faster and less expensive to retry tests on only those configurations where your app previously encountered errors.
Saved Matrix Templates
If you use Test Lab frequently and are tired of entering the same device matrix information repeatedly, you can now save a matrix configuration as a template, and refer to that template when running a test. There is a new templates tab available on the Test Lab feature home screen:
Here, you can create and manage your device matrix templates. Then, when you go to run a test, you can select from a list of your templates to apply to the test:
Custom Text Input for Robo Test
If you're already using Firebase Test Lab for Android to run its automated
Robo test
, you've probably already gotten a lot of mileage out of its ability to intelligently crawl your app running on our devices. But for some of you, Robo wasn't a very useful option, because it was unable to bypass a custom login screen, or enter some specific text at the right place.
Now, you can configure a Robo test to use specific strings at key locations in your app. Here's an example of the Firebase console UI that specifies both a credential for a custom login form, and a search term to be used in a search box:
This UI is available as an "advanced option" when running a test.
This configuration is telling the Robo test to type the string "test_lab_user" into every EditText widget with the Android resource ID named "tv_username". It will do similarly for the tv_password and tv_search EditText widgets. This type of customization will make it easier for Robo log into your app and perform a search where those named widgets are observed. You can have text prepared for any EditText in your app that has a resource ID, as long as you're able to provide its name. However, this does not work for WebView elements.
Keep thinking about app quality!
The Firebase team wants your app to be successful, and a great way to make that happen is by using features provided by Firebase.
So make 2017 a year of high quality for your app!
About
Firebase gives you the tools and infrastructure to build better apps and grow successful businesses.
Learn more
Popular Posts
Introducing Cloud Firestore: Our New Document Database for Apps
Best Practices: Arrays in Firebase
The beginners guide to React Native and Firebase
Firebase expands to become a unified app platform
Email Verification in Firebase Auth
Archive
►
2022
(5)
►
March
(2)
►
February
(2)
►
January
(1)
►
2021
(41)
►
November
(3)
►
October
(4)
►
September
(4)
►
August
(7)
►
July
(6)
►
June
(4)
►
May
(3)
►
April
(2)
►
March
(2)
►
February
(3)
►
January
(3)
►
2020
(39)
►
December
(1)
►
November
(4)
►
October
(8)
►
September
(4)
►
August
(6)
►
July
(3)
►
June
(4)
►
May
(2)
►
March
(3)
►
February
(1)
►
January
(3)
►
2019
(31)
►
December
(1)
►
November
(4)
►
September
(4)
►
August
(2)
►
July
(3)
►
June
(1)
►
May
(1)
►
April
(4)
►
March
(7)
►
February
(2)
►
January
(2)
►
2018
(55)
►
December
(3)
►
November
(8)
►
October
(1)
►
September
(6)
►
August
(9)
►
July
(1)
►
June
(5)
►
May
(5)
►
April
(4)
►
March
(7)
►
February
(2)
►
January
(4)
▼
2017
(86)
►
December
(10)
►
November
(6)
►
October
(5)
►
September
(6)
►
August
(9)
►
July
(6)
►
June
(7)
►
May
(8)
►
April
(5)
►
March
(10)
►
February
(9)
▼
January
(5)
Debugging Firebase Cloud Messaging on iOS
Customize your Firebase Test Lab Robo tests
Firebase Remote Config loading strategies
Welcoming Fabric to Google
Some Tips for Boosting your App's Quality in 2017
►
2016
(66)
►
December
(6)
►
November
(11)
►
October
(9)
►
September
(9)
►
August
(6)
►
July
(6)
►
June
(7)
►
May
(3)
►
April
(1)
►
March
(1)
►
February
(4)
►
January
(3)
►
2015
(24)
►
December
(2)
►
November
(1)
►
October
(4)
►
September
(1)
►
August
(2)
►
July
(2)
►
May
(4)
►
April
(1)
►
March
(5)
►
February
(1)
►
January
(1)
►
2014
(29)
►
December
(3)
►
November
(3)
►
October
(3)
►
September
(1)
►
August
(2)
►
July
(2)
►
June
(1)
►
May
(4)
►
April
(4)
►
March
(2)
►
February
(1)
►
January
(3)
►
2013
(28)
►
December
(3)
►
November
(2)
►
October
(2)
►
September
(1)
►
August
(2)
►
July
(2)
►
June
(3)
►
May
(1)
►
April
(3)
►
March
(6)
►
February
(2)
►
January
(1)
►
2012
(8)
►
December
(2)
►
October
(1)
►
September
(1)
►
July
(1)
►
June
(1)
►
April
(2)
Recent Posts