Skip to content

osandadeshan/kotlin-appium-gauge-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobile Web Application Automation Using Kotlin, Appium and Gauge

Pre Requisites

  1. Java
  2. Appium Desktop Client
  3. Android Studio
  4. Maven
  5. IntelliJ IDEA

How to Install Gauge Core

On Windows

  1. Install Chocolatey by executing the following command.
    @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

  2. Install Gauge by executing the following command.
    choco install gauge

On MacOS

  1. Update Homebrew.
    brew update

  2. Install Gauge using Homebrew.
    brew install gauge

On Linux

  1. First, add Gauge’s GPG key with this command.
    sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-keys 023EDB0B

  2. Then add Gauge to the repository list using this command.
    echo deb https://dl.bintray.com/gauge/gauge-deb nightly main | sudo tee -a /etc/apt/sources.list

  3. Finally, install Gauge using these commands.
    sudo apt-get update
    sudo apt-get install gauge

How to Install Gauge Plugins

  1. Open Command Prompt and execute following commands.
    gauge install java
    gauge install html-report
    gauge install json-report
    gauge install xml-report
    gauge install spectacle
    gauge install flash

  2. You can check the installation using the following command.
    gauge -v

    If the installation is success, it will output like this:

    Gauge version: <version number>
    Plugins
    -------
    flash (<version number>)
    html-report (<version number>)
    java (<version number>)
    json-report (<version number>)
    spectacle (<version number>)
    xml-report (<version number>)

Tested On

OS/Tool Version
Operating System Windows 10
Appium Desktop Client 1.15.1
Android Studio 3.5
Android Emulator 8.0
Chrome 80.0.3987.162

About

A demo project that automates mobile web browser using Appium and Gauge in Kotlin.

Topics

Resources

Stars

Watchers

Forks

Languages