Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/osandadeshan/kotlin-appium-gauge-demo

A demo project that automates mobile web browser using Appium and Gauge in Kotlin.
https://github.com/osandadeshan/kotlin-appium-gauge-demo

android appium gauge kotlin mobile-automation page-factory webapp

Last synced: about 19 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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:

```markdown
Gauge version:
Plugins
-------
flash ()
html-report ()
java ()
json-report ()
spectacle ()
xml-report ()
```

## 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 |