Skip to content

bootstrap vs appium uiautomator2 server module

Sravan Medarapu edited this page Oct 25, 2016 · 3 revisions

Both bootstrap and appium-uiautomator2-server modules are responsible to implement handlers to interact with Android Native and Hybrid apps. Below points will describe more details about these modules and development stack.

Bootstrap:

  • Will be packaged as AppiumBootstrap**.jar** and injected into the device/emulator while executing the tests.
  • Contains ServerSocket, always up and running to process the requests given by appium-android-driver.
  • Uses Google UIAutomator v1 to perform the actions.

appium-uiautomator2-server:

  • Will be packaged as appium-uiautomator2-server-vX.X.X**.apk**(X.X.X specifies version) and installed into the device/emulator while executing the tests.
  • Contains Netty Server up and running to process the requests given by appium-uiautomator2-driver. Using Netty Server gives better performance and less memory consumption over using ServerSocket.
  • Uses Google UIAutomator v2 to perform the actions. UIAutomator v2 has fixes for most of the v1 bugs and architectural level changes.
Clone this wiki locally