How to test native / pre-installed Android apps by Appium?

903 views
Skip to first unread message

Kao Leo

unread,
Jan 20, 2014, 9:28:37 PM1/20/14
to appium-...@googlegroups.com
Dear Sirs,

I never touch Apprium framework and surveying now.
I would like to some basic concept of Appium:
1. Is it possible to test against native / pre-installed Android apps such as Google MAP, Goole Play, Chrome browser, etc.?
2. Should the AUD (App. under test) need to re-sign key? If so, then is cannot test against native / pre-installed Android apps, may I right?
3. If I have a PC and an Android deivce, where is the Appium located and where is the WebDrvier located?

Thx & B.R

bootstrap online

unread,
Jan 20, 2014, 9:58:10 PM1/20/14
to Kao Leo, appium-...@googlegroups.com
uiautomator should allow preinstall app automation without resigning.
> --
> http://appium.io
> ---
> You received this message because you are subscribed to the Google Groups
> "Appium-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to appium-discus...@googlegroups.com.
> Visit this group at http://groups.google.com/group/appium-discuss.
> For more options, visit https://groups.google.com/groups/opt_out.

Kao Leo

unread,
Jan 20, 2014, 10:05:24 PM1/20/14
to appium-...@googlegroups.com, Kao Leo
Hi,

Many thanks for your reply.
As I know, Appium uses WebDriver to pass information between PC and DUT, and Appium also use UIAutomator library to handle actions.
But why Appium cannot test pre-install app directly?

bootstrap online於 2014年1月21日星期二UTC+8上午10時58分10秒寫道:

bootstrap online

unread,
Jan 20, 2014, 10:56:45 PM1/20/14
to Kao Leo, appium-...@googlegroups.com
"Example of automating Settings preinstalled app on Android"
https://github.com/appium/ruby_lib

Kao Leo

unread,
Jan 21, 2014, 3:25:51 AM1/21/14
to appium-...@googlegroups.com, Kao Leo
Hi,

What a great example on testing pre-installed Android APK.
That means, we could do any user operations on pre-installed APK, may I right?
A further question is, how could I check the expected result after some operations?
For example, if I would like to re-connect to a specific WiFI AP if the connection is dropped, and make sure the connection is recovered after re-connect.
Is it possible?

Thx & B.R

bootstrap online於 2014年1月21日星期二UTC+8上午11時56分45秒寫道:

bootstrap online

unread,
Jan 21, 2014, 8:58:45 AM1/21/14
to Kao Leo, appium-...@googlegroups.com
On Tue, Jan 21, 2014 at 3:25 AM, Kao Leo <ponti...@gmail.com> wrote:
> For example, if I would like to re-connect to a specific WiFI AP if the
> connection is dropped, and make sure the connection is recovered after
> re-connect.
> Is it possible?

I think that will be possible on Android once this PR is merged.

https://github.com/appium/appium/pull/1769

Kao Leo

unread,
Jan 21, 2014, 10:24:54 PM1/21/14
to appium-...@googlegroups.com, Kao Leo
Hi,

I re-search some pages.
Appium indeed could test against pre-installed apps, but the test case should be developed by scripting language such as Ruby or Python, may i right?
Is it possible to reach it by implementing by Java / Eclipse?


Thx & B.R


bootstrap online於 2014年1月21日星期二UTC+8上午11時56分45秒寫道:
"Example of automating Settings preinstalled app on Android"

bootstrap online

unread,
Jan 21, 2014, 11:56:28 PM1/21/14
to Kao Leo, appium-...@googlegroups.com
On Tue, Jan 21, 2014 at 10:24 PM, Kao Leo <ponti...@gmail.com> wrote:
>
> Is it possible to reach it by implementing by Java / Eclipse?

Yes
Reply all
Reply to author
Forward
0 new messages