0
votes

I'm not really sure if this is the correct stack exchange site to ask on, but I can't find anything via google, SO search or on the firebase or android developer sites.

I want to make use of the free spark tier of Firebase Test Lab to run MonkeyRunner tests, but I can't see any way of doing that, or if it's even possible.

I apologise if this is out of context.

I need to do Monkeyrunner tests as my project is a LibGDX project which has no Android classes in it, so I can't benefit from the normal instrumentation tests.

1
Screenshots that you take with Screenshotter on Test Lab will get pulled into the test results in a storage bucket after the test. You can access that bucket with the "View Source Files" button at the top of the test results. - Doug Stevenson
But I can't use ScreenShotter because in UIAutomator, we don't have an Activity. or at least, I can't find a way to get it. - Russ Wheeler
Could you take your additional questions to a different issue here on SO? You've packed too much into this one question - it's difficult to follow. Your first question was about monkeyrunner, which got answered. Your other questions are about different topics. - Doug Stevenson

1 Answers

2
votes

No, not currently. Monkeyrunner is a python program that directs the emulator or device after the APK is deployed to it. Test Lab doesn't have a way to also deploy and execute a python program that runs in this fashion. That complicates things greatly. If you would like to submit this as a feature request, we would love the details of your app and why you're trying to do with it.