Test Automation With Appium Cucumber And Ruby

Automate Android native application using Cucumber, Appium and Ruby + Bonus iOS Setup!

Last updated 2022-01-10 | 4.4

- 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

What you'll 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
Know how to setup Jenkins server
Bonus: Setup project for iOS app with basic elements

* 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 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)

Who this course is for:

  • 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

Course content

6 sections • 88 lectures

Introduction, Course Overview and Prerequisites Preview 02:00

Application overview Preview 02:19

About environment installation Preview 01:02

Mac: How to install Xcode Preview 02:14

In this lecture we will install Xcode on Mac machines.

If you have Windows machine, please skip this lecture.

Mac: How to install Android SDK Preview 03:45



Mac: How to install Appium Lib and Cucumber Preview 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.

Mac: How to install Java SDK Preview 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

Mac & Windows: How to setup Android simulator in Android Studio Preview 02:14

Mac: How to install Appium Preview 00:25

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

http://appium.io/

If you have Windows machine, please skip this lecture.

Mac: Install RubyMine IDE Preview 00:46

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.

Windows: How to install Java SDK Preview 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

Windows: How to install Android SDK Preview 06:27

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 Ruby Preview 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.


Windows: How to install Appium Lib and Cucumber Preview 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.



Gem isntallation.

Windows: How to install Appium Preview 00:25

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

If you have Mac machine, please skip this lecture.

Windows: Install RubyMine IDE Preview 00:46

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.

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

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

Skip this video if you are using Android simulator.

Device or Simulator.

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

Apk file is attached to lecture.

App installation.

Why do we need all of these tools? Preview 03:01

What is Cucumber and why we need it? Preview 02:10

Create Cucumber folders structure Preview 03:15

In this lecture we will create Cucumber folder structure.

Naming convention

Create first Cucumber scenario Preview 09:16

In this lecture we will create first Cucumber test scenario.

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


Cucumber step prefixes Preview 03:03

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

Adding second cucumber scenario Preview 06:30

Step definitions


Adding arguments to steps Preview 14:26

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 Preview 08:12

Create Cucumber scenario outline Preview 06:57

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

Learn what is Cucumber tags Preview 03:38

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

Tagging test scenarios.

Learn what is Cucumber hooks Preview 02:27

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

Before hook.

Cucumber framework overview Preview 06:50

Configure framework for Appium Preview 12:43

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

Appium capabilities.

Learn what is UIAutomatorviewer Preview 02:49

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

Elements inspector.

Create first Appium test Preview 06:09

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

Locators

Create second appium test Preview 03:20

Appium command.

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

Generate new step definitions

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

Appium command.

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

Appium command.

Learn how to add assertions to tests Preview 06:36

Create assertions.

Learn how to locate multiple elements Preview 10:33

Arrays in Ruby.

Appium command.

Learn how to locate element inside container Preview 08:00

Element locators.

Automate application screen keyboard Preview 11:53

Improve our code to type any values on screen keyboard Preview 09:20

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

Ruby questions.

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

Improving test 'Add to Favorite list' Preview 03:46

Learn how to select value from Unit picker Preview 04:18

Learn how to use scroll method Preview 12:44

Appium command.

Moving common code to method Preview 07:10

Appium command.

Improve method 'Find in list' Preview 12:56

Appium command.

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

Element locators.

Learn what is Cucumber profiles Preview 14:48

Cucumber profiles.

Add screenshots to report file Preview 09:32

Screenshots.

Create test scenario: 'History list' Preview 18:51

Ruby command.

Learn how to use gestures Preview 08:30

Gestures

Learn how to debug tests using Pry gem Preview 09:41

Debugging

How to install Jenkins server Preview 04:41

How to launch Cucumber/Appium tests on Jenkins Preview 07:38

How to start automation with your own application Preview 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 iOS test automation (bonus application attached) Preview 22:32

Tap on element using element coordinates Preview 06:35