How to mark test failed in Python - Behave on LT?

How to mark test failed in Python - Behave on LT?

Hey Anna,

To mark a test as Fail on LambdaTest in Behave framework, you need to use Lambda Hooks as given below:

browser.execute_script("lambda-status=failed")

You can also refer to the below documentation: