Comments (9)
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.
possibly because of getgauge/gauge#1299
from gauge-python.
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
from gauge-python.
can you share a sample project for us to investigate?
from gauge-python.
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 -
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.
Ok, Thanks for the update.
from gauge-python.
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
from gauge-python.
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.
Ok, Got it, Thanks.
from gauge-python.
Related Issues (20)
- Exception while loading step implementations from file not logged HOT 2
- File "check_and_install_getgauge.py", line 5, ImportError: No module named pkg_resources with Python 3.7 HOT 8
- when gauge python upgrade to 0.3.15, error got an unexpected token STAR here HOT 3
- Python runner doesn't exit when gauge gets SIGINT
- load_files method taking 40+ seconds HOT 2
- Latest version of 'protobuf' causes errors on start HOT 1
- Screenshot feature is not working as expected HOT 2
- plugin 0.3.17 can not support Chinese HOT 1
- The statistics should be consistent in console and reports with table-driven-scenario feature enabled HOT 1
- VSCode debug mode problem with Python 3.10 HOT 2
- Not possible to debug external Python code HOT 1
- Python 3.10 feature "Structural Pattern Matching" not supported HOT 4
- Gauge cant install the plugin ' ' [PyCharm Community][Gauge 1.6.3] HOT 6
- Executing out of the box example gauge-python scripts seems to display errors on the console HOT 1
- Extension of VS code doesn't run test case by my local ./venv HOT 3
- Warning log: ModuleNotFoundError: No module named 'pkg_resources' HOT 1
- Unable to reuse step implementations from another project HOT 7
- Unable to correctly loading the methods from relatively imported classes
- Update use of pkg_resources in check_and_install_getgauge.py HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gauge-python.