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

Taiko not waiting for navigationTimeout to finish

According to the goto docs, I have to set navigationTimeout in options to override the default wait of 30 seconds. I am trying to override it to 100 seconds, but it isn't working - it times out in 40 seconds, as shown here: Here's my step: step('Go…
Safwan Samsudeen
  • 1,645
  • 1
  • 10
  • 25
0
votes
1 answer

Taiko: Wait For Events in a click api

In click API in taiko there is an option to provide Wait For Events Example: click('Get Started', {waitForEvents: ['DOMContentLoaded']}) I am confused about whether it will wait for the page to load after clicking on click API or before clicking.
0
votes
2 answers

Unable to run gauge test - connectex: No connection could be made because the target machine actively refused it

I am developing some tests with gauge and python but on running specs i am getting connections error, I checked gauge error and find that grpc is opening connection on 65271 and error is thrown for port 65268. Am i missing something (its my first…
ImranRazaKhan
  • 1,955
  • 5
  • 33
  • 74
0
votes
1 answer

Gauge - Before spec running for every row in csv with -DinParallel=true

I've a spec which has table: data/csv/a.csv Tags: tag1 Where csv file has 49 cases and there is only 1 scenario in spec Before spec in a StemImplementation looks like below @BeforeSpec(tags = {"tag1","tag2"},tagAggregation = Operator.OR) …
Mohit Bansal
  • 348
  • 3
  • 8
0
votes
1 answer

How to get the Status of a Scenario in afterScenario hook in Gauge?

I have a question Gauge automation framework. I am trying to get the status of the Scenario i.e., Passed or Failed in the afterScenario hook and store it using DataStore, any idea how to get that? I use my framework in Python, but any programming…
Sam
  • 375
  • 1
  • 2
  • 13
0
votes
1 answer

How do I run multiple browsers to simulate multiple simultaneous users with Gauge?

I'm working on a web-based multiplayer game. It's the usual "One person creates a game, others join" type flow. So I bring up multiple browsers to manually test the interaction. Is there a way to do this with Gauge/Taiko? The alternative seems to…
chris_st
  • 501
  • 7
  • 19
0
votes
1 answer

How to parallelize Gauge at specification level?

I'm building a Gauge automation project with Selenium, Maven and Java. When executing a specification with an included table data like # Specification | name | | A | | B | | C | ## Scenario 1 * User logs in application ## Scenario 2 * User does…
oksyque
  • 1
  • 1
0
votes
2 answers

Does Cucumber/Gherkin knows something like Gauge concept?

I used Gauge for a while and they have the idea of a concept, which is defined as "Concepts provide the ability to combine re-usable, logical groups of steps into a single unit. A concept presents the summary of a business intent by combining…
emersoncod
  • 53
  • 3
0
votes
1 answer

how to Make selectable appPackage and appActivity BeforeScenario in android Appium Test Automation

I want to choose starting app(appPackage,appActivity) in @BeforeScenario to develop a test scenarios for multiple apps in one test project. I know use the start activity but because of security permission denial, I can not use it. The only working…
0
votes
1 answer

How does gauge_clear_state_level work with Javascript and Typescript?

I am trying to understand how Gauge handles concurrent execution of tests and how it manages state. However, I don't get it how gauge_clear_state_level is supposed to work. I have created two small examples in Javascript and also Typescript and for…
F7502
  • 33
  • 1
  • 6
0
votes
1 answer

Automate Date Picker via removeAttribute('readonly') with Gauge / Taiko

Apologies if this question has already been asked / answered. I'm keen to automate a date picker by removing the readonly attribute on the field and passing the date directly into it. I know this is possible with Selenium, iMacros and other similar…
Pendy
  • 16
0
votes
0 answers

Gauge: Run background scenario (Concept.cpt) before spec

I'm new with Gauge and I need to run something like the Background Scenario before the Scenarios (Inn this case, Specs) I have a login in a spec like this: table: resources/data/login_data.csv ## Login with valid username and…
nosequeweaponer
  • 511
  • 10
  • 38
0
votes
0 answers

Gauge - Implementing step crashing VS 17

I had created a spec several days ago and needed to create a new one. Instead of creating a new step implementation I used the same one as the previous spec. And since a couple of the steps were similar to the first spec I copy pasted the steps and…
0
votes
1 answer

Error while installing gauge js plugin in docker container

Seeing an error while installing getgauge js plugin in docker image I am trying to create an image with all tools that is used to run my suite and then push it to docker repo so that I dont need to build the image every time when I run the…
Mr.Bug
  • 31
  • 1
0
votes
1 answer

How to run specifications based on the order of the tags inputtted

Example: - Consider I have two specs (Spec 1 and Spec 2). - In both the specs I have few scenarios and each scenario has a tag representing the stages it has to run. Say spec1 has scenarios relevant to "STAGE_1" and "STAGE_2". And same is the case…