4.25 out of 5
4.25
779 reviews on Udemy

Mobile Automation: Appium Cucumber for Android&iOS + Jenkins

Automate Android native application using Cucumber, Appium and Ruby + Bonus iOS Setup!
Instructor:
Aleksei Petrovski
4,269 students enrolled
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

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)

Introduction

1
Introduction, Course Overview and Prerequisites
2
Application overview

Environment installation

1
About environment installation
2
Mac: How to install Xcode

In this lecture we will install Xcode on Mac machines.

If you have Windows machine, please skip this lecture.

3
Mac: How to install Android SDK



4
Mac: How to install Appium Lib and Cucumber

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.

5
Mac: How to install Java SDK

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

6
Mac & Windows: How to setup Android simulator in Android Studio
7
Mac: How to install Appium

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

http://appium.io/

If you have Windows machine, please skip this lecture.

8
Mac: Install RubyMine IDE

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.

9
Windows: How to install Java SDK

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

10
Windows: How to install Android SDK

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

2. install to с:android-sdk

3. add to PATH: "C:android-sdktools;c:android-sdkpla­tform-tools"

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

5. adb version

6. uiautomatorviewer

11
Windows: How to install Ruby

In this lecture we will install Ruby on Windows machines.

http://rubyinstaller.org/downloads/

If you have Mac machine, please skip this lecture.


12
Windows: How to install Appium Lib and Cucumber

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.



13
Gem isntallation.
14
Windows: How to install Appium

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

If you have Mac machine, please skip this lecture.

15
Windows: Install RubyMine IDE

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.

16
How to configure Android real device for test execution

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

Skip this video if you are using Android simulator.

17
Device or Simulator.
18
How to install application on Android real device or simulator

Apk file is attached to lecture.

19
App installation.
20
Why do we need all of these tools?

Introduction to Cucumber

1
What is Cucumber and why we need it?
2
Create Cucumber folders structure

In this lecture we will create Cucumber folder structure.

3
Naming convention
4
Create first Cucumber scenario

In this lecture we will create first Cucumber test scenario.

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


6
Cucumber step prefixes

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

7
Adding second cucumber scenario
8
Step definitions


9
Adding arguments to steps

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


10
Modify step definitions to accept multiple keywords
11
Create Cucumber scenario outline

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

12
Learn what is Cucumber tags

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

13
Tagging test scenarios.
14
Learn what is Cucumber hooks

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

15
Before hook.
16
Cucumber framework overview

Introduction to Appium

1
Configure framework for Appium

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

2
Appium capabilities.
3
Learn what is UIAutomatorviewer

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

4
Elements inspector.
5
Create first Appium test

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

6
Locators
7
Create second appium test
8
Appium command.
9
Create new test scenario: 'Add conversion to Favorite list'
10
Generate new step definitions
11
Create test scenario: 'Add new custom conversion'
12
Appium command.
13
Create test scenario: 'Search existing conversion'
14
Appium command.
15
Learn how to add assertions to tests
16
Create assertions.
17
Learn how to locate multiple elements
18
Arrays in Ruby.
19
Appium command.
20
Learn how to locate element inside container
21
Element locators.
22
Automate application screen keyboard
23
Improve our code to type any values on screen keyboard

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
24
Ruby questions.
25
Learn how to verify element status (enabled or disabled)
26
Improving test 'Add to Favorite list'
27
Learn how to select value from Unit picker
28
Learn how to use scroll method
29
Appium command.
30
Moving common code to method
31
Appium command.
32
Improve method 'Find in list'
33
Appium command.
34
Create test scenario: 'Reverse picker values'
35
Element locators.
36
Learn what is Cucumber profiles
37
Cucumber profiles.
38
Add screenshots to report file
39
Screenshots.
40
Create test scenario: 'History list'
41
Ruby command.
42
Learn how to use gestures
43
Gestures
44
Learn how to debug tests using Pry gem
45
Debugging

Jenkins Server

1
How to install Jenkins server
2
How to launch Cucumber/Appium tests on Jenkins

Bonus lectures

1
How to start automation with your own application

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'




2
How to start iOS test automation (bonus application attached)
3
Tap on element using element coordinates
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.3
4.3 out of 5
779 Ratings

Detailed Rating

Stars 5
411
Stars 4
260
Stars 3
74
Stars 2
18
Stars 1
16
6d226ad16ef2f942b442ecc4bc5d77c0
30-Day Money-Back Guarantee

Includes

6 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion