Mobile Test Automation: Appium (Latest), Cucumber and Ruby
4.4 (180 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,068 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Mobile Test Automation: Appium (Latest), Cucumber and Ruby to your Wishlist.

Add to Wishlist

Mobile Test Automation: Appium (Latest), Cucumber and Ruby

Automate Android native application using Cucumber, Appium and Ruby.
Best Seller
4.4 (180 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,068 students enrolled
Last updated 9/2017
English
Current price: $10 Original price: $100 Discount: 90% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 5.5 hours on-demand video
  • 33 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Know how to use Appium framework with Android os
  • Know how to automate any Android application using Appium
  • Know how to use Cucumber framework for any testing project including Selenium
  • Know how to work with Android real devices and emulators
  • Know how to use Appium inspector and Uiautomatorviewer to identify elements in application
  • Know how to install all required tools to begin test automation
  • Able to Implement scalable framework using Cucumber and Ruby
  • Know how to use Appium gestures: swipe, scroll, tap
View Curriculum
Requirements
  • Programming knowledge is not required
  • Windows and Mac user are welcome
Description

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 50+ video lectures with 100% hands-on material.

You'll learn hottest tools on a market: Cucumber, Appium and Ruby.

In the end of this course you'll be able to automate similar projects by yourself

Who is the target audience?
  • Planning to start test Automation? Start with hottest tool on a market - Appium
  • This course is designed for anyone who even does not have experience with QA process
Compare to Other Appium Courses
Curriculum For This Course
55 Lectures
05:18:15
+
Environment installation
17 Lectures 29:47
About environment installation
01:02

In this lecture we will install Xcode on Mac machines.

If you have Windows machine, please skip this lecture.

Mac: How to install Xcode
02:14

In this lecture we will install Android SDK on Mac machines.

If you have Windows machine, please skip this lecture.


Create .bash_profile file:

touch .bash_profile

open .bash_profile

Parameters for .bash_profile file:

export ANDROID_HOME="/Users/<USERNAME>/android-sdk-macosx/"
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
export PATH="${PATH}:/Users/<USERNAME>/android-sdk-macosx/platform-tools:/Users/<USERNAME>/android-sdk-macosx/tools"

Preview 03:28

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.

Mac: How to install Appium Lib and Cucumber
01:11

Gem isntallation.
1 question

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

Mac: How to install Java SDK
01:06

In this lecture we will install Genymotion Android Simulator on Mac machines.

If you are planning to use real Android device for testing (recommended), please skip this lecture.

Mac: How to Install Genymotion Android Simulator
03:29

In this lecture we will install Appium application on Mac machines.

http://appium.io/

If you have Windows machine, please skip this lecture.

Mac: How to install Appium
00:25

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.

Mac: Install RubyMine IDE
00:46

1.  http://developer.android.com/sdk/inde...

2. install to с:\android-sdk

3. add to PATH: "C:\android-sdk\tools;c:\android-sdk\pla­tform-tools"

4. add variable: "ANDROID_HOME=c:\android-sdk\"

5. adb version

6. uiautomatorviewer

Windows: How to install Android SDK
04:38

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

Windows: How to install Java SDK
01:01

In this lecture we will install Ruby on Windows machines.

http://rubyinstaller.org/downloads/

If you have Mac machine, please skip this lecture.


Windows: How to install Ruby
02:52

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.



Windows: How to install Appium Lib and Cucumber
00:59

Gem isntallation.
1 question

In this lecture we will install Appium application on Windows machines.

If you have Mac machine, please skip this lecture.

Windows: How to install Appium
00:25

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.

Windows: Install RubyMine IDE
00:46

In this lecture we will install Genymotion Android Simulator on Windows machines.

If you are planning to use real Android device for testing (recommended), please skip this lecture.

Windows: How to install Genymotion Android simulator
02:15

In this lecture we will enable developer mode on Android devices. 

Skip this video if you are using Android simulator.

How to configure Android real device for test execution
00:36

Device or Simulator.
1 question

Apk file is attached to lecture.

How to install application on Android real device or simulator
02:34

App installation.
1 question
+
Introduction to Cucumber
11 Lectures 01:06:39
What is Cucumber and why we need it?
02:10

In this lecture we will create Cucumber folder structure.

Preview 03:15

Naming convention
1 question

In this lecture we will create first Cucumber test scenario.

Create first Cucumber scenario
09:16


What is the required keyword to create new test in Cucumber?
1 question

In this Lecture we will learn what is step prefixes and how to use it.

Cucumber step prefixes
03:03

Adding second cucumber scenario
06:30


Step definitions
1 question

In this lecture we will learn how to add arguments to our steps and pass it to step definitions.


Adding arguments to steps
14:26

Modify step definitions to accept multiple keywords
08:07

In this lecture we will learn how to execute same test scenario with different data without creating duplicate of test.

Create Cucumber scenario outline
06:57

In this lecture we will learn what is cucumber tags and how to use them to execute our test scenarios.

Learn what is Cucumber tags
03:38

Tagging test scenarios.
1 question

In this lecture we will learn how to execute any code before and after every test scenario.

Learn what is Cucumber hooks
02:27

Before hook.
1 question

Cucumber framework overview
06:50
+
Introduction to Appium
24 Lectures 03:34:14

In this lecture we will learn how to configure Appium application. And how to connect Appium to Cucumber framework.

Preview 07:05

Appium capabilities.
1 question

Start Appium.
1 question

In this lecture we will learn how to inspect elements in Android application using UIAutomatorviewer tool.

Learn what is UIAutomatorviewer
02:49

Elements inspector.
1 question

In this lecture we will learn how to use Appium to locate elements using method find_element.

Create first Appium test
06:09

Locate elements.
1 question

Locators
2 questions

Create second appium test
03:20

Appium command.
1 question

Create new test scenario: 'Add conversion to Favorite list'
06:25

Generate new step definitions
1 question

Create test scenario: 'Add new custom conversion'
18:20

Appium command.
1 question

Create test scenario: 'Search existing conversion'
09:12

Appium command.
2 questions

Learn how to add assertions to tests
06:36

Create assertions.
2 questions

Learn how to locate multiple elements
10:33

Arrays in Ruby.
1 question

Appium command.
3 questions

If you are using Appium Version 1.5+ please checkout last lecture in this course. Appium updated locator strategy.

Or you can downgrade to 1.4.13 version and it will work.

Learn how to locate element inside container
08:00

Element locators.
1 question

Automate application screen keyboard
11:53

If you are using Appium version 1.5+, here is new syntax:

find_element(id: "keypad").find_element(xpath: "//android.widget.Button[@text='#{button}']").click
Improve our code to type any values on screen keyboard
09:20

Ruby questions.
4 questions

Learn how to verify element status (enabled or disabled)
10:10

Improving test 'Add to Favorite list'
03:46

Learn how to select value from Unit picker
04:18

Learn how to use scroll method
12:44

Appium command.
3 questions

Moving common code to method
07:10

Appium command.
1 question

Improve method 'Find in list'
12:56

Appium command.
2 questions

Create test scenario: 'Reverse picker values'
02:06

Element locators.
1 question

Learn what is Cucumber profiles
14:48

Cucumber profiles.
2 questions

Add screenshots to report file
09:32

Screenshots.
1 question

Create test scenario: 'History list'
18:51

Ruby command.
1 question

Learn how to use gestures
08:30

Gestures
1 question

Learn how to debug tests using Pry gem
09:41

Debugging
1 question
+
Bonus lectures
1 Lecture 03:16

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'




How to start automation with your own application
03:16
About the Instructor
Aleksei Piatrouski
4.4 Average rating
180 Reviews
1,068 Students
1 Course
Software engineer in test

Hi! I'm Aleksei. I have a degree in Computer Science and working as a test Software Engineer for 7+ years.

Have experience with all kind of automated tools: Selenium, Appium, Watir, Calabash, KIF, iOS Instruments, and Appium is my favorite.

I love to share my knowledge with other people and learn new tools and technologies.