Tag: 黄瓜 java

Cucumber Java – 如何在下一步中使用返回的String?

我需要自动化一些web服务,我为此创建一些方法,我想使用Cucumber,但我无法计算如何在下一步使用返回值。 所以,我有这个function: Feature: Create Client and place order Scenario: Syntax Given I create client type: “66” And I create for client: “OUTPUTVALUEfromGiven” an account type “123” And I create for client: “OUTPUTVALUEfromGiven” an account type “321” And I want to place order for: “outputvalueFromAnd1” 我有这个步骤: public class CreateClientSteps { @Given(“^I create client type: \”([^\”]*)\”$”) public […]