
Join a 4-week, hands-on course to build an Appium and Cucumber test framework for Android using Ruby, covering element inspection with Automator viewer, gestures, HTML reports, screenshots, and debugging.
Explore automating a UC mobile unit converter app with Appium cucumber on Android and iOS, covering home screen defaults, left unit pickers, favorites, history, custom conversions, and swipe gestures.
In this lecture we will install Xcode on Mac machines.
If you have Windows machine, please skip this lecture.
In this lecture we will install Appium Lib and Cucumber gems (Ruby libraries) on Mac machines.
If you have Windows machine, please skip this lecture.
In this lecture we will install Java SDK on Mac machines.
If you have Windows machine, please skip this lecture.
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Learn how to set up an Android emulator in Android Studio by creating a virtual device, selecting Nexus 5X, Android 7, and launching the simulator for mobile automation testing.
In this lecture we will install Appium application on Mac machines.
http://appium.io/
If you have Windows machine, please skip this lecture.
In this lecture we will install Sublime text application on Mac machines.
https://www.sublimetext.com/3
If you have Windows machine, please skip this lecture.
In this lecture we will install Java SDK on Windows machines.
If you have Mac machine, please skip this lecture.
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
1. http://developer.android.com/sdk/inde...
2. install to с:\android-sdk
3. add to PATH: "C:\android-sdk\tools;c:\android-sdk\platform-tools"
4. add variable: "ANDROID_HOME=c:\android-sdk\"
5. adb version
6. uiautomatorviewer
In this lecture we will install Ruby on Windows machines.
http://rubyinstaller.org/downloads/
If you have Mac machine, please skip this lecture.
In this lecture we will install Appium Lib and Cucumber gems(Ruby libraries) on Windows machines.
If you have Mac machine, please skip this lecture.
In this lecture we will install Appium application on Windows machines.
If you have Mac machine, please skip this lecture.
In this lecture we will install Sublime text application on Windows machines.
https://www.sublimetext.com/3
If you have Mac machine, please skip this lecture.
In this lecture we will enable developer mode on Android devices.
Skip this video if you are using Android simulator.
Apk file is attached to lecture.
Outline the three core components of a test automation framework—the test engine, the driver, and the client—using Cucumber, Appium, and Android, with setup steps for ADB and Ruby Mine.
In this lecture we will create Cucumber folder structure.
In this lecture we will create first Cucumber test scenario.
In this Lecture we will learn what is step prefixes and how to use it.
Create a second cucumber test scenario, navigating from the home screen to my conversions, confirming an empty list, and reusing steps across scenarios with cucumber and Appium.
In this lecture we will learn how to add arguments to our steps and pass it to step definitions.
Modify cucumber step definitions to accept multiple keywords by parameterizing button state as enabled or disabled and reuse steps for show all and clear buttons on home screen using Appium.
In this lecture we will learn how to execute same test scenario with different data without creating duplicate of test.
In this lecture we will learn what is cucumber tags and how to use them to execute our test scenarios.
In this lecture we will learn how to execute any code before and after every test scenario.
In this lecture we will learn how to configure Appium application. And how to connect Appium to Cucumber framework.
In this lecture we will learn how to inspect elements in Android application using UIAutomatorviewer tool.
In this lecture we will learn how to use Appium to locate elements using method find_element.
Automate the second test scenario using Appium Cucumber, reuse previous steps to press the my conversions button, and verify the conversion screen shows no personal conversions created yet.
Create a cucumber test scenario linked to Appium to add a conversion to favorites from the home screen. Parameterize the lens and verify the item appears in favorites.
Learn to add assertions in mobile tests by reading an element's text with Appium, comparing it to the expected value from the feature file, and failing on mismatch using Cucumber.
Learn to locate multiple elements with same resource id using Appium find elements, store them in a Ruby array, and access by index to read left and right unit pickers.
Automate four data-driven mobile tests with appium and cucumber, pressing keypad buttons via nested searches inside the keyboard container and validating the displayed results.
If you are using Appium version 1.5+, here is new syntax:
find_element(id: "keypad").find_element(xpath: "//android.widget.Button[@text='#{button}']").clickLearn to verify a button’s enabled or disabled state in Appium with Ruby by typing on the application keyboard, storing the result in button_state, and asserting it.
Create a test scenario for selecting values from the right unit picker and converting volumes, and refactor by reusing a find_in_list method across step definitions.
Learn how to group cucumber tests with profiles, use background for common steps, and generate html reports by configuring tags, profiles, and formats.
Automatically validate the app's history feature by creating a cucumber scenario that adds lens selections to history, verifies no history initially, checks lens in history, and supports deleting history items.
Launch Jenkins locally by downloading the Java war package and running java -jar jenkins.war. Unlock the UI at localhost:8080, install suggested plugins, and create an admin user.
adb devices
adb shell pm list packages
adb shell pm path com.android.chrome
adb pull /data/app/com.android.chrome-1.apk
adb shell dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp'
Demonstrates pressing an element with coordinates using the Appium tap command when click fails, by locating the element, extracting x and y, and executing a coordinates-based tap.
Want to start writing automated tests?
In this course you will create your own project from beginning, including installation of all required tools, creating framework structure and learning what is Appium and how to use it.
Prior knowledge of Ruby programming language is not required.
Course including 55+ video lectures with 100% hands-on material.
You'll learn hottest tools on a market: Cucumber, Appium and Ruby.
Also you'll be able to integrate your tests with Jenkins server!
In the end of this course you'll be able to automate similar projects by yourself
Bonus Lectures:
- How to setup project for your Android App.
- How to start iOS test automation (iOS app provided)