开发者

How to do instrumentation test on Android default browser?

开发者 https://www.devze.com 2023-03-11 21:05 出处:网络
Here is my condition: Purpose: Do instrumentation or JUnit test on Android default browser. I use Eclipse to develop test program.

Here is my condition:

  • Purpose: Do instrumentation or JUnit test on Android default browser.
  • I use Eclipse to develop test program.

Since it cannot build browser source code in Eclipse, so cannot control any component by using find开发者_开发技巧ViewByID().

How could I control browser's component then do some test, such as update URL, reload page, search by google, etc?

Thx & B.R

Leo


there is a a selenium androiddriver for that purpose, see: AndrodiDriver-Selenium

0

精彩评论

暂无评论...
验证码 换一张
取 消