Questions tagged [getgauge]

Questions about Gauge, Cross-platform, multi-language test automation framework.

Gauge, Cross-platform, multi-language test automation framework. https://gauge.org.

109 questions
0
votes
1 answer

Taiko - Scope mouseAction to a selector

I have a portion of the page that is a map, and I'd like to do a bunch of mouseActions inside the map. I'm looking for a way to execute the actions passing coordinates relative to the map, not the whole page: Instead of: mouseAction('press',…
LuizSignorelli
  • 1,411
  • 11
  • 9
0
votes
1 answer

This version of Gauge Intellij plugin only works with Gauge version >= 0.9.0

I have installed Gauge version 1.0.6 on my machine and the intellij version 2019.2 with Gauge plugin version 0.3.16. While creating a new Gauge project i am getting an error as : Error adding module to project: This version of Gauge Intellij plugin…
0
votes
1 answer

Use global variable in specification step

I am quite new to gauge. I am trying to test API requests. Is it possible to specify an endpoint which contains an id defined globally? E.g. a specification step like * Make Get Request To "/endpoint-path/${id}/value" I use gauge with TypeScript. I…
0
votes
1 answer

Run gauge tests inside a docker container

I'm trying to Dockerize a Gauge test automation project so I can run specs inside a Docker container. The project is written in Java and Spring Boot. I saw this tutorial in Gauge documentation. This is the DockerFile in the tutorial: FROM ubuntu #…
AliReza
  • 706
  • 2
  • 10
  • 30
0
votes
1 answer

Same gauge steps, with different implementation

I am working on my project and I have one problem I need to solve. I have one repo with specs in Gauge framework, but specs are for 3 almost identical sites. I mean functionality is identical but locators, number of inputs and so on is not. Is there…
Mirko
  • 39
  • 2
  • 13
0
votes
1 answer

Why does taiko spin up two chromium instances on test run?

I created a simple test pack with taiko and gauge. On running the test, i noticed that 2 chromium instance were spun up. I am not sure if this expected behaviour?
0
votes
1 answer

Unable to install Gauge with npm

I've followed the instructions verbatim to install gauge from "https://gauge.org/getting-started-guide/quick-install/" and I'm unable to install it. I'm starting from a fresh GCP Debian instance. After installing the NodeJS PPM and then following…
Luke
  • 156
  • 3
0
votes
3 answers

How to fix 'TypeError: Cannot read property 'fn' of undefined" and 'Unable to require Taiko"

Trying to run gauge with taiko to automate some web testing. sudo gauge run specs throws two type errors and "Unable to require Taiko" Taiko, nodejs, npm are installed and working fine. Gauge seems mostly fine. gauge init js worked. I've tried…
0
votes
1 answer

getgauge Failed to start gauge API: Timed out connecting to 127.0.0.1

While running gauge in a server, we receive: Failed to start gauge API: Timed out connecting to 127.0.0.1:46025 The server has localhost 127.0.0.1 in /etc/hosts I have tried using nc to start a dummy listener in the same port gauge fails and I'm…
gusgonnet
  • 107
  • 2
  • 9
0
votes
2 answers

Is it possible to convert a .spec file to a .feature file?

I am using gauge framework for testing. I wish to store the execution results in Jira/Xray. But Jira/Xray only support cucumber for automated testing. I am thinking of converting the .spec file to .feature file and add it to the Xray test scenario.…
0
votes
1 answer

Run gauge java specs with headless chrome inside a docker container

I am trying to run a set of gauge specs with headless chrome inside a docker container. I've tried setting up a Dockerfile like so: FROM maven:latest RUN apt-get update && apt-get install -q -y unzip curl ENV DEBIAN_FRONTEND=noninteractive #…
John
  • 65
  • 5
0
votes
1 answer

Intentionally duplicated step

For one scenario that I'm writing, I have two different steps that do the same action: * Click "R$ " However, when running gauge an error shows up: Failed Step: Click "R$ " Specification: specs/example.spec:10 Error Message: Error:…
Mateus Neves
  • 304
  • 5
  • 16
0
votes
1 answer

Can't create new gauge project with VSCode

I'm trying to configure Gauge with VS Code integration but when I try to execute the command Gauge: Create new Gauge Project I get the error command gauge.createProject not found . I've followed the getting stared guide from:…
BSzocs
  • 1
  • 2
0
votes
0 answers

Selenium-Maven-Gauge template not running

I am currently building off of the gauge-maven-selenium template and I have added my own spec and java class steps to test it. Unfortunately when I try to run using 'mvn clean test' it builds it just fine, but when trying to run it, it stops after…
0
votes
1 answer

How do I fail all scenarios without starting the test?

i have a question I would be glad if you answer. how do I make all specifications is fail with getgauge(java) according to any situation?
ogulcan
  • 11
  • 2