Skip to main content

Questions tagged [python-behave]

Behave is a BDD framework for Python, based on the Cucumber Framework.

python-behave
0 votes
0 answers
9 views

For Behave step files, can I force the default matcher strategy if the file has no ‘use_step_matcher’ statement?

I’m working on a test automation project that uses the Behave framework. There are ~100 step files in the ‘features/steps’ folder. I have created a new step file with the project’s first use of the “...
Jordan Saunders's user avatar
0 votes
0 answers
19 views

Selenium verision 4 using python behave to connect SeeTest

I am trying to run my desktop browser tests on seetest, I am using selenium 4 which has no desired capabilities but it uses 'options' however I tried multiple syntax but no use.. tests still connects ...
Jags's user avatar
  • 111
2 votes
0 answers
65 views

How can I ensure some code is run even if a test suite is aborted?

I have a Behave test suite that starts by spinning up my application in a Docker container. I've added some code using atexit to ensure that the container is stopped and removed when the suite exits '...
spierepf's user avatar
  • 2,846
0 votes
0 answers
14 views

Assertion error thrown when code converted from Scenario to Scenario Outline

Issue: Scenario Outline parameterization Tech: python, behave I run the test changing the username (in the feature file) to “”, or “username” , none of them made a difference. It just throws the ...
Tes's user avatar
  • 167
-1 votes
1 answer
21 views

Chaining async tests in Cucumber

I'd like to write a series of Cucumber tests to verify connecting and provisioning a BLE device. Each step is inherently asynchronous (discovery, connection, verification of characteristics, etc), ...
fearless_fool's user avatar
0 votes
0 answers
37 views

Headless automation is possible for desktop or native applications using WinAppDriver?

GUI sendkeys are not working (unable to find elements) if we lock the system, even win+R not working. Any solutions to do headless for behave framework? Tried with PSEXEC triggering the script on the ...
Satz's user avatar
  • 1
0 votes
0 answers
8 views

Using an external resource as the source of table data in python-behave

Consider the following feature test for Behave: Feature: Student Scenario Outline: New Given User <cn> created in YAML Then Verify cn matches "<cn>" Then Verify ...
Albert Chin's user avatar
0 votes
2 answers
79 views

Path differs while getting current working directory for local and pipeline

Actually, I've developed a python project using behave framework to automate a solution and pushed it to a repo so that it can be executed using pipeline in agent machine, the paths are getting ...
Nithish Duraikannan's user avatar
0 votes
1 answer
33 views

Writing custom behavex json parser to allure2 format

I'm using behaveX plugin on top of behave framework in order to speed up my tests. However I would like to parse the results into allure format which is more convinient. I wrote my own custom json ...
BackstageBones's user avatar
0 votes
1 answer
54 views

Chrome is quickly closing after I run this automation code using Python Behave Selenium webdriver

Whenever I run my code, the chrome opens and quickly closes, I observed the chrome browser and when it opens it does not even go the the URL link, it opens and then quickly closes for like a milli-...
Angel's user avatar
  • 1
0 votes
1 answer
63 views

How to access environmental variables when executing a python-behave test?

I am trying to set up a behave test for my app and I need to access many different environmental variables during the execution. For example, I have code that checks if the ENVIRONMENT is local, dev ...
A Campos's user avatar
  • 803
0 votes
0 answers
40 views

Python automation - Connection establishment with selenium server is failing

I have created a docker compose file to create the containers for Selenium, chromedriver and python behave(framework), version: '3' services: selenium: image: selenium/standalone-chrome:latest ...
Varun Bharadwaj's user avatar
-1 votes
1 answer
175 views

Running behave/selenium in a Docker Container

I have built a Docker container, from which to run behave/selenium tests. The Docker image is based on Oracle Linux 9, and it includes: /bdds/driver/chromedriver --version ChromeDriver 114.0.5735.90 (...
avalon20's user avatar
  • 161
1 vote
1 answer
85 views

Allure report stuck with a loading spinner after launching index.html from generated report

I've used the below code to generate the allure report, but after generation when I launch the index.html file it keeps on loading. But when I use serve command and launch it, the proper report gets ...
Nithish Duraikannan's user avatar
-1 votes
1 answer
139 views

allure-behave : The term 'allure-behave' is not recognized as the name of a cmdlet, function, script file, or operable program

I created new (virt_env) and installed allure-behave by using command: pip install allure-behave. To verify it installed I use pip list command: When I run my automation tests I see allure-results ...
rakakot's user avatar
  • 23

15 30 50 per page
1
2 3 4 5
36