Coder Social home page Coder Social logo

Comments (9)

sriv avatar sriv commented on June 16, 2024 1

for table driven scenario see https://docs.gauge.org/writing-specifications.html?os=linux&language=javascript&ide=vscode

you need to set allow_scenario_datatable=true in your properties file or via environment vars. Steps can only take table as parameters.

from gauge-python.

sriv avatar sriv commented on June 16, 2024 1

possibly because of getgauge/gauge#1299

from gauge-python.

balaji2711 avatar balaji2711 commented on June 16, 2024

Yes. Already I had gone through the gauge documentation and enabled that flag as well in the properties file.
Thanks for sharing the information 👍

PFA for the screenshot of a properties file
image

from gauge-python.

sriv avatar sriv commented on June 16, 2024

can you share a sample project for us to investigate?

from gauge-python.

balaji2711 avatar balaji2711 commented on June 16, 2024

I reinstalled the gauge extension in VS code and now I can provide the table at the scenario level not at the step level.

One more issue, have observed in the generated gauge report -
The total executed scenarios are 3 and passed are 3 but in the report, passed count shows as 2 -

image

Spec file for your reference -

Login Specification

  • When I navigated to Login Page

Login to the demo application

tags: sanity

  • When I login as "standard_user" using "secret_sauce"
  • Then login should be successful

Login to the demo application with examples

tags: sanity

username password
standard_user secret_sauce
performance_glitch_user secret_sauce
  • When I login as using
  • Then login should be successful

from gauge-python.

balaji2711 avatar balaji2711 commented on June 16, 2024

Ok, Thanks for the update.

from gauge-python.

balaji2711 avatar balaji2711 commented on June 16, 2024

Hi @sriv, I'm getting an error message when I provide the table at the step level. Already the below flag is enabled in default.properties file -

Enable scenario datatable

allow_scenario_datatable = true

image

from gauge-python.

sriv avatar sriv commented on June 16, 2024

Scenario is the H2 header starting with ##. Scenario datatable has to be under it. You seem to have placed it as a step parameter

from gauge-python.

balaji2711 avatar balaji2711 commented on June 16, 2024

Ok, Got it, Thanks.

from gauge-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.