A TCF with no inputs and outputs
Scenario: Test
When I type "blue" in "css:#color"
And I type "100" in "css:#length"
And I click "BUY"
Then "Success" is displayed
A TCF with inputs
Scenario: Test
Given input variable "color" with default value "blue"
And input variable "length" with default value "100"
When I type "{{color}}" in "css:#color"
And I type "{{length}}" in "css:#length"
And I click "BUY"
Then "Success" is displayed
Scenario: Save outputs
When I save a value from "Amount" element to "amount" variable
Then I return "{{amount}}" as "amount" variable
A test case using a TCF with no inputs
When I run fragment "TCF[ID]"
And I capture output variable "amount" as "purchase_amount"
A test case using a TCF with inputs
Given fragment "TCF13"
When I set input variable "color" to "green"
And I set input variable "length" to "500"
And I run the fragment
And I capture output variable "amount" as "purchase_amount"
Comments
0 comments
Please sign in to leave a comment.