Androiddriver-perform selenium test in andriod

Source: Internet
Author: User

Androiddriver-perform selenium test in andriod

The android driver uses the remotewebdriver. the client side is your test code. the server side is an application that gets installed on the android emulator or device. it uses the remotewebdriver server component and embeds a light-weight HTTP server (jetty ). the client and the server communicate using the wire protocol which consists of rest requests using JSON over HTTP. the application executes the tests in the context of an android webview.

Pros & conspros
  • Runs in Android Browser
  • Uses native touch events to emulate User Interaction
  • Runs on emulator and Device
Cons
  • Slower than headless WebKit driver
  • Support for SDK versions 2.2 and prior, has been deprecated. the driver is unlikely to work reliably on these versions. there were several limitations, for instance XPath wasn' t supported natively and the android driver used to inject an XPATH library in webview. we recommend using devices with version 2.2 or later.
  • Does not work on emulators running 2.3 because of an emulator bug that shocould be fixed soon by Android. However it works on devices running 2.3 and higher (and runs much faster on those ).

Http://code.google.com/p/selenium/wiki/AndroidDriver

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.