Honeydew
a Ruby driver for UIAutomator which enables automated
testing of Android devices.
Thiago Ghisi | @thiagoghisi | T...
UI Automator
 “The uiautomator* testing framework lets you test your
user interface (UI) efficiently by creating automate...
Workflow for the uiautomator testing
framework
1. “Prepare to test by installing the app on a test device,
analyzing the a...
Workflow for the uiautomator testing
framework
1. $ uiautomatorviewer
2. Write test cases in Java using UI Automator API
3...
UI Automator – Demo Calculator
UI Automator – Problems?
Workflow for Honeydew framework
1. $ uiautomatorviewer
2. Write test cases in ruby/rspec/cucumber using Honeydew
API
3. Ru...
Honeydew – Demo Calculator
Honeydew Explained
Thank you!
github.com/amplify-education/honeydew
@thiagoghisi
Honeydew: a Ruby driver for UIAutomator which enables automated testing of Android devices.
Honeydew: a Ruby driver for UIAutomator which enables automated testing of Android devices.
Honeydew: a Ruby driver for UIAutomator which enables automated testing of Android devices.
Honeydew: a Ruby driver for UIAutomator which enables automated testing of Android devices.
Upcoming SlideShare
Loading in …5
×

Honeydew: a Ruby driver for UIAutomator which enables automated testing of Android devices.

1,515 views

Published on

Honeydew is a open-source project and it is avaliable at: https://github.com/amplify-education/honeydew

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,515
On SlideShare
0
From Embeds
0
Number of Embeds
31
Actions
Shares
0
Downloads
12
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Honeydew: a Ruby driver for UIAutomator which enables automated testing of Android devices.

  1. 1. Honeydew a Ruby driver for UIAutomator which enables automated testing of Android devices. Thiago Ghisi | @thiagoghisi | ThoughtWorks
  2. 2. UI Automator  “The uiautomator* testing framework lets you test your user interface (UI) efficiently by creating automated functional UI testcases that can be run against your app on one or more devices.”  uiautomatorviewer - A GUI tool to scan and analyze the UI components of an Android application.  uiautomator - A Java library containing APIs to create customized functional UI tests, and an execution engine to automate and run the tests. *Android SDK Tools, Revision 21 or higher *Android SDK Platform, API 16 or higher >= Android 4.1 Jelly Bean = API level 16
  3. 3. Workflow for the uiautomator testing framework 1. “Prepare to test by installing the app on a test device, analyzing the app’s UI components, and ensuring that your application is accessible by the test automation framework. 2. Create automated tests to simulate specific user interactions on your application. 3. Compile your test cases into a JAR file and install it on your test device along with your app. 4. Run the tests and view the test results. 5. Correct any bugs or defects discovered in testing.”
  4. 4. Workflow for the uiautomator testing framework 1. $ uiautomatorviewer 2. Write test cases in Java using UI Automator API 3. $ ant build 4. $ adb push <path_to_output_jar> /data/local/tmp/ $ adb shell uiautomator runtest YourJar.jar -c yourtestpackage.YourTest
  5. 5. UI Automator – Demo Calculator
  6. 6. UI Automator – Problems?
  7. 7. Workflow for Honeydew framework 1. $ uiautomatorviewer 2. Write test cases in ruby/rspec/cucumber using Honeydew API 3. Run your test cases:  ruby test.rb  bundle exec rspec  bundle exec cucumber
  8. 8. Honeydew – Demo Calculator
  9. 9. Honeydew Explained
  10. 10. Thank you! github.com/amplify-education/honeydew @thiagoghisi

×