Skip to content

Latest commit

 

History

History
66 lines (61 loc) · 4.5 KB

features.md

File metadata and controls

66 lines (61 loc) · 4.5 KB

ATMOSPHERE Features for emulators and real devices overview

Overview

Feature Method On emulator On real device Comments
get the free RAM getFreeRam()
get a screenshots getScreenshot()
install an APK installApk()
start an activity startActivity()
set an auto-rotation setAutoRotation()
set a screen orientation setScreenOrientation()
get an XML from the UI getUiXml()
input a text inputText()
set a network latency setNetworkLatency()
set a network speed setNetworkSpeed()
set a device orientation setDeviceOrientation()
set an acceleration setAcceleration()
get a power state getPowerState()
get a battery state getBatteryState()
get a battery level getBatteryLevel()
set an airplane mode setAirplaneMode()
get a device orientation getDeviceOrientation() ✔? ✔?
get a connection type getConnectionType()
set a battery level setBatteryLevel() On real device, sets the battery level only for limited time
set a battery state setBatteryState() On real device, sets the battery state only for limited time
set a power state setPowerState() On real device, sets the power state only for limited time
get a mobile data state getMobileDataState()
set a mobile data state setMobileDataState()
get a network speed getNetworkSpeed() ? ?
get a network latency getNetworkLatency() ? ?
set an WiFi setWiFi()
lock a device setLocked() ✔?
awake a device isAwake()
receive a SMS receiveSms()
mock location on device mockLocation()

Legend:

sign description
fully working
✔? unrealiable
? unknown
missing
blank not possible

Features that work on both real devices and emulators

  • getFreeRam();
  • getScreenshot();
  • installApk();
  • setAutoRotation()
  • setScreenOrientation();
  • getUiXml();
  • inputText();
  • setAirplaneMode();

Emulator ONLY features

  • setNetworkLatency();
  • setNetworkSpeed();
  • setDeviceOrientation() - deprecated
  • setAcceleration();
  • setMobileDataState();
  • getMobileDataState();
  • receiveSms();

Things that we can't do on real devices but would like to

  • All emulator ONLY features