Questions tagged [behave]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
18 views

Any tool for UI concurrency process in python?

I would like to have a bunch of users log in to a webpage in parallel, do some miscellaneous work, and log out. Is there a good tool anyone may suggest? I used to use behave BDD to handle the UI ...
user3595231's user avatar
0 votes
1 answer
83 views

Py + iOS + FFMPEG(libx264) "height not divisible by 2" & "while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height"

Background : I have automated test suite in which I am trying to record video [for failed tests]on iOS using MacOS with M1 Its working as expected on local and observing failures while running tests ...
Narendra Chandratre's user avatar
0 votes
1 answer
113 views

Python + Appium : ios video recording is creating zero byte videos

Background : I am trying to record video on iOS using MacOS with M1. Problem : I am able to record video but after saving I can see video size is "Zero byte". I have not seen any error so ...
Narendra Chandratre's user avatar
-1 votes
1 answer
145 views

Page Object Model for large projects with Behave?

I have an end-to-end test project done in pure Selenium implementing Page Object Model. The thing is, I'm dabbling in Behave to add specificity to test cases based on business requirements. I would ...
VSacudato's user avatar
0 votes
3 answers
32 views

Python Behave test causing rhel 7 server to hang

On executing set of behave tests on linux server manually the behave tests are getting stuck at some random behave test and rest other behaves are not executed. There is no particular bdd which is ...
Sameer kumar's user avatar
0 votes
1 answer
311 views

Python + Selenium : Edge extension automation test failing continuously as driver.get(url) is not working

System : Python Behave Selenium Edge browser Target : Extension Problem : Edge extension automation test is failing continuously. There are multiple observations : Page gets loaded with enter ...
Narendra Chandratre's user avatar
0 votes
1 answer
101 views

Appium+Python: Screenshot for failed step in iOS :HOOK-ERROR in after_step: TypeError: after_step() missing 1 required positional argument: 'scenario'

I am trying to capture screenshot on iOS device when any of my test gets failed. Problem statement : How to get behave scenario inside the after_step() method Observed error : HOOK-ERROR in ...
Narendra Chandratre's user avatar
0 votes
2 answers
497 views

I have a dynamic xpath which is based on 4 values, if I am using OR condition the xpath looks huge, any other way to handle this?

_OPTION_1 = "Average" _OPTION_2 = "M" _OPTION_3 = "Casual" _OPTION_4 = "D" _WIDTH_VALUE_XPATH = f"//mat-option/span[contains(text(),'{...
Ashish Ahuja's user avatar
5 votes
2 answers
3k views

How do I structure my Python project based on the Page Object Model

I'm currently trying to implement a base for my automated tests based on the page object pattern with Python, Selenium and Behave. I've never really worked in a reasonably big QA project, especially ...
anigma's user avatar
  • 51
0 votes
1 answer
1k views

Turn on print, stderr, or stdout by tag during test run in Behave Python

So I am trying to implement an @warn tag. The idea is this test doesn't make an assertion and fail, but instead simply prints out a warning. I see this answer here, but that only explains how to do it ...
Cynic's user avatar
  • 235
2 votes
1 answer
650 views

feature file in behave(BDD) throws an error

I have create a feature file and step definition file, to execute by test cases using behave (BDD ), but i am facing one error, when i execute the feature file, Please find below to check by code :- ...
Santosh Kumar G's user avatar
0 votes
1 answer
384 views

Difference between Behave tables and Model Based testing

What is the difference between the Behave tables you can write in BDD (see python-behave) and model-based testing? Such tables seem to generate a model for your test which you can use to test your ...
nnja's user avatar
  • 1