Alex Sid
Alex Sid

Reputation: 148

Is there a way to automate Android OS testing (not just the apps)?

Preface:

I'm working with small company that make its own devices with custom flavored Android OS (eBooks and one model of smartphone). I have the experience of browser, API and mobile apps (iOS | Android) automation.

Problem:

But today i've heard the idea from my manager. He offered me to find tool or just a way to automate Android OS testing, not just the apps. He said that if i will find a way to do that, i will save pretty much of time for company.

Of course i have a lack of knowlege about custom Android OS architecture (my job was only to make automation), but right now i'm stuck with the answer. The only tools that possibly could be used with more than just 1 app is Appium.

Please tell me if this even possible thing to automate testing of your own Android OS version?

Thanks in advance.

UPDATE:

So how i see it:

  1. We are on the main screen of our smartphone OS.
  2. There is a clock widget on the main screen.
  3. Without physical contact and human involved, the system makes imitation of "long touch" on the clock widget
  4. Small menu with a list of options appears.

Upvotes: 2

Views: 601

Answers (1)

Alex Sid
Alex Sid

Reputation: 148

So, after more research and comment of CommonsWare (thank you!) i have found the answer.

What i needed is testing system apps and cross app testing. Android Support Library have a tool for that - it's called UIAutomator. This one feels absolutely nice while being on home screen and around - clicking elements, finding them and simulating hardware buttons.

If you face this problem once upon a time - just use this thing.

Upvotes: 3

Related Questions