Questions tagged [cucumber-python]
5 questions
2
votes
2 answers
Python Behave : How to read examples from external excel file for Scenarios Outline
Instead of passing data from Examples: I want to pass the data from excel. as in that step I just want to compare expected and actual results for batch automation. and want to capture the total pass or failure of the test cases.
Scenario Outline:…

Arpan Saini
- 4,623
- 1
- 42
- 50
1
vote
0 answers
Pytest bdd cucumber - fetching examples table from excel or csv file
Cucmber BDD - Is there anyway to link the Examples datatable of a Scenario Outline with an external excel file directly from the Feature file in the pytest framework?

spiky_bulba
- 103
- 1
- 5
1
vote
0 answers
Python PyTest : How to read examples from external excel file for Scenarios Outline
Instead of passing data from Examples: I want to pass the data from excel. as in that step I just want to compare expected and actual results for batch automation. I have 100s of test data to be tested for the same scenario.
I could pass the test…

Sara Ananth
- 33
- 3
0
votes
1 answer
I am new to Cucumber BDD framework, Can we reuse Scenerio step which are repeated in between the Scenario using Background?
This is my feature file -
Background: Common steps
Given User should be on profile dashboard page
Scenario Outline: Adding new key and values
**Then User clicks on Add New Key button**
Then User enters Key name, Key description, Value type and Add…

Rudra
- 1
- 4
0
votes
0 answers
Behave - command not found in Mac OS
When trying to run behave in the Mac terminal, a command not found error is raised, even tho I've installed behave using pip3:
user_name features % pip3 install -U behave
Defaulting to user installation because normal site-packages is not…

Gabi
- 51
- 1
- 4