Ask a Question

BDD Background keyword

jtron5050
Visitor

BDD Background keyword

Just wondering how the background statement works.  Doesn't seem to do anything for me.  I have the following scenario file.  Can't wireup any step definitions to it.

 

Feature: Feature1

Background:
Given: the app is running

Scenario: A description of your business scenario
Given some precondition
When an action is performed
Then validate a condition

1 REPLY 1
Marsha_R
Community Hero

There's a reference for it here

https://support.smartbear.com/testcomplete/docs/bdd/gherkin/index.html

 

You could also take a look at the sample project here and see if it's used

https://support.smartbear.com/testcomplete/docs/bdd/index.html


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
cancel
Showing results for 
Search instead for 
Did you mean: