Test Automation with Appium, Cucumber and Ruby

Automate Android native application using Cucumber, Appium and Ruby.
4.6 (28 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.
155 students enrolled
$19
$30
37% off
Take This Course
  • Lectures 56
  • Length 5.5 hours
  • Skill Level Beginner Level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 6/2016 English

Course 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


use THANKS80

What are the requirements?

  • Programming knowledge is not required
  • Windows and Mac user are welcome

What am I going to get from this course?

  • 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

What is the target audience?

  • Planning to start test Automation? Start with hottest tool on a marker - Appium
  • This course is designed for anyone who even does not have experience with QA process

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Introduction
Introduction, Course Overview and Prerequisites
Preview
02:00
Application overview
02:19
Section 2: Environment installation
About environment installation
01:02
02:14

In this lecture we will install Xcode on Mac machines.

If you have Windows machine, please skip this lecture.

04:01

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"

01:11

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.

01:06

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

03:29

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.

02:02

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

http://appium.io/

If you have Windows machine, please skip this lecture.

02:26

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.

04:34

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

01:01

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

02:52

In this lecture we will install Ruby on Windows machines.

http://rubyinstaller.org/downloads/

If you have Mac machine, please skip this lecture.


00:59

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.



01:42

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

If you have Mac machine, please skip this lecture.

03:29

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.

02:15

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.

00:36

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

Skip this video if you are using Android simulator.

02:34

Apk file is attached to lecture.

Section 3: Introduction to Cucumber
What is Cucumber and why we need it?
02:10
01:48

In this lecture we will create Cucumber folder structure.

Naming convention
1 question
11:17

In this lecture we will create first Cucumber test scenario.

1 question


03:13

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

Adding second cucumber scenario
03:34
09:12

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


Modify step definitions to accept multiple keywords
04:30
04:52

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

02:40

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

01:33

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

Cucumber framework overview
03:34
Section 4: Introduction to Appium
07:05

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

01:53

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

06:04

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

Create second appium test
03:15
Create new test scenario: 'Add conversion to Favorite list'
06:36
Create test scenario: 'Add new custom conversion'
19:03
Create test scenario: 'Search existing conversion'
09:30
Learn how to add assertions to tests
07:05
Learn how to locate multiple elements
09:30
05:51

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.

Automate application screen keyboard
09:41
08:27

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
Learn how to verify element status (enabled or disabled)
09:46
Improving test 'Add to Favorite list'
06:21
Learn how to select value from Unit picker
05:32
Learn how to use scroll method
10:14
Moving common code to method
11:33
Improve method 'Find in list'
11:37
Create test scenario: 'Reverse picker values'
03:48
Learn what is Cucumber profiles
08:09
Add screenshots to report file
09:29
Create test scenario: 'History list'
18:49
Learn how to use gestures
08:54
Learn how to debug tests using Pry gem
14:23
Execute all tests
07:14
04:31

If you are using Appium version newer than 1.5, checkout this video.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Aleksei Piatrouski, 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.

Ready to start learning?
Take This Course