lundi 16 octobre 2017

Testing web-service with cucumber

Need to test web-service with cucumber. I have file CreateDoc.feature with

Scenario: recieve document num
Given sender info
And manufacturer code 3
When colling web-service
Then recieve document num 

And there is another file Revocation.feature where I need to use a variable that I recieve in CreateDoc.feature Scenario

Scenario: revocation doc
Given //need document num from first scenario

How can I do that?

Aucun commentaire:

Enregistrer un commentaire