20
Views
3
Comments
Solved
[BDDFramework] Scenario not showing a result when there is a tear down
Forge component by João Proença
24
Published on 02 Dec 2019
Application Type
Traditional Web

We are finding that when we have a teardown on a scenario then the tick/cross in the top right hand corner is not being triggered. Has anyone else experienced this behaviour? 

Staff
Rank: #93
Solution

Hi Paul,


Believe that is not expected, at least if you're talking about the icons shown in this picture (see source):

Can you please check if you have any Exception Handling with Abort Transaction set to True, in your test application?

Any chance you can provide an isolated sample of your code so we can better help you?


Regards!

Rank: #92

Thanks for the steer. There was an error being thrown in the teardown.

Staff
Rank: #93

Glad I was able to help. To be clear: Exception Handling is not recommended when building your BDD Scenario Steps since BDDFramework is persisting data in its own logic - unless you do want to perform assertions of negative scenarios that explicitly cover exceptions - and in such cases you should never abort the transaction.