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
1
vote
2 answers

Running gauge tests from jar file

I am new to gauge testing tool .I have a maven project that consists of specs and step implementations. Mvn package phase does generate a jar file with all the required classes. However I cant figure out how i can run the gauge specs using a Main…
trial999
  • 1,646
  • 6
  • 21
  • 36
1
vote
0 answers

How to present external data in Sonarqube?

I like to include Gauge (http://gauge.org) results in SonarQube (LTS 6.7.1), basically by simply include execution information for a project (which is stored locally in a junit xml file). What spec and scenarios have been run etc. But I completely…
Emerson Cod
  • 1,990
  • 3
  • 21
  • 39
1
vote
1 answer

Dynamic parameter cannot be resolved in Gauge

i try to use the file special parameter in a Gauge specification. Export a customer ---------------------------------------- * Find customer "Hans" * Export customer to The java implementation for this looks like…
Emerson Cod
  • 1,990
  • 3
  • 21
  • 39
1
vote
0 answers

The Gradle Guage Plugin fails to load test classes when they use the Spring Framework

The example project ioc-spring runs the gauge integration tests from the Maven plugin, gauge-maven-plugin. When loaded into IntelliJ, they also run fine within the IDE. However, when the project is ported to Gradle, and using the gauge-gradle-plugin…
John Cook
  • 11
  • 2
1
vote
1 answer

Gauge - run @BeforeSpec in a superclass in Java

I am writing a testing framework using Gauge. I want some initilization logic performed in one class, and the steps logic to reuse it, like this: public class A { protected String property = ""; @BeforeSpec public void init(){ …
1
vote
1 answer

Gauge.writemessage() does not included in html-report

We are using Gauge for automation testing. Please find below version for Gauge, html-report, xml-report, java C:\Users\jay>gauge -v Gauge version: 0.7.0 Plugins html-report (1.1.0) java (0.3.3) xml-report (0.1.1) My scenario is And my step…
Jay Patel
  • 523
  • 2
  • 15
  • 26
1
vote
2 answers

Add alias to an enum in java

I have a use case where I would like to access an enum instance with an alias of that enum. The reason that I would like to access the enum instance with an alias is to allow accessing a value of an enum with non English characters (my specific use…
Boaz Berman
  • 230
  • 4
  • 13
1
vote
1 answer

Running Parallel Tests using Gauge Framework with Browserstack

I'm using Gauge framework and Browserstack for my test scenarios. I'm researching how can i parallel execute my test scenarios(.spec) using browserstack? I read many documentation but I couldnt see anything about Gauge framework to run parallel…
Aidan Aidan
  • 33
  • 1
  • 2
  • 9
0
votes
0 answers

How get code coverage on a spring boot project with gauge?

I'm looking for the right tool for executable specifications. Gauge is quite good but I can't manage to get the code coverage. How can I get it ? As the gauge runner is not based on junit, it seems jacoco can't do the job…
0
votes
0 answers

Initialize ONCE when execute gauge with `-p`

I use gauge and gauge-ts to test APIs with axios. In our project, when test runs, DB is initialized in @BeforeSuite. It was good enough. Recently I'm trying to run gauge with -p flag, and DB initialize don't work well. @BeforeSuite runs many times(#…
0
votes
0 answers

Bulding process of a Docker container for Gauge Framework wont stop running

I write my bachelor thesis about E2E-Testing of a specific software for my university. I work with the Gauge-framework which includes Taiko. My tests are fine and working on my local machine. But now I have to build a docker Container because my…
Sousa
  • 1
  • 2
0
votes
0 answers

Countdown Component Running Slow in Taiko + Gauge Automation Test

I have a problem in Taiko automation test as countdown components running so slow. Actually, not just countdown component, everything running slow. You can see the case in video…
0
votes
1 answer

Gauge framework - information about test failure in runtime

I'm using python and Gauge framework. I need to perform some action in @after_scenario only when scenario fails. I've tried to dig in the framework in search of related property and I found following one: Scenario.is_failing After printing it on a…
tunomatic
  • 5
  • 2
0
votes
1 answer

How can we use multiple csv files in one spec file using Taiko+Gauge

I am getting error when I declare different csv files according to test data to different scenarios on specs level while using Taiko + Gauge. Any one can help on this? Reference: specs with multiple csv files eg. table:specs/case_sclm.csv Verify…
0
votes
2 answers

Unable to start the VSCode debugger with the Gauge Framework

Software Versions: Python: 3.9.7 Gauge: 1.4.1 Visual Studio Code: 1.60.0 Gauge plugin for VSCode (getgauge.gauge): v0.0.21 Pylance (ms-python.vscode-pylance): v2021.9.0 I have a Gauge framework based on Python setup. I have a spec file, with…
v2j ICe
  • 3
  • 3