/gauge-example-sahi

A sample project illustrating Gauge features using sahi to run browser tests.

Primary LanguageJava

Gauge example project in Java using Sahi

A sample project illustrating Gauge features using sahi to run browser tests.

Prerequisites

Configuration

  • Set the sahi installation path property in the env/default/sahi_config.properties file
# Path to sahi installation directory
sahi.install_dir = SAHI_INSTALLATION_PATH

Setting up the System Under Test (SUT)

java -jar activeadmin-demo.war

Executing specs

Command line

All specs

gauge run specs/

Run against chrome browser

gauge run --env chrome specs

Intellij plugin

Executing against Internet Explorer

host: localhost
port: 9999

Copyright

Copyright 2018, ThoughtWorks Inc.