Skip to content

A demo project that automates Chrome Browser using Taiko with Gauge Automation Framework in JavaScript.

License

Notifications You must be signed in to change notification settings

gemunulk/gauge-taiko-demo

Repository files navigation

gauge-taiko-demo Build Status

This is an example project, illustrating how to automate the Chrome Browser using Taiko and Gauge test automation framework in JavaScript. Originally cloned from Gauge Examples and then modifed for the AUT Demoaut

What’s Gauge?

Gauge is a free and open source test runner for writing readable and reusable acceptance tests. It is easy to install and well integrated with Taiko.

What’s Taiko?

Taiko is a free and open source browser automation tool built by the team behind Gauge from ThoughtWorks. Taiko is a node library with a clear and concise API to automate the chrome browser. Tests written in Taiko are highly readable and maintainable.

With Taiko it’s easy to

  • Get Started
  • Record/Write/Run tests

Taiko’s smart selectors make tests reliable by adapting to changes in the structure of your web application. With Taiko there’s no need for id/css/xpath selectors or adding explicit waits (for XHR requests) in test scripts.

Features

Taiko is built ground up to test modern web applications. Here’s a list of a few unique features that sets it apart from other browser automation tools.

  • Easy Installation
  • Interactive Recorder
  • Smart Selectors
  • Handle XHR and dynamic content
  • Request/Response stubbing and mocking

Getting Started

Gauge Installation

Taiko Installation

Taiko works on Windows, MacOS and Linux. You only need to have Node.js installed in your system to start writing Taiko scripts in JavaScript. After you’ve installed Node.js open a terminal application (or powershell in the case of Windows) and install Taiko using npm with the command

$ npm install -g taiko
$ gauge install js

This installs Taiko and the latest version of Chromium browser.

Seting up the project

$ cd gauge-taiko-demo
$ npm install
$ npm test

Documentation

Inspired by

About

A demo project that automates Chrome Browser using Taiko with Gauge Automation Framework in JavaScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published