igniteram / protractor-cucumber-typescript

e2e kickstarter test framework which consists of protractor, cucumber frameworks using typescript lang!
MIT License
196 stars 170 forks source link

Need info on sharing data between steps #55

Closed Balajiiguru closed 6 years ago

Balajiiguru commented 6 years ago

If multiple step definition file exist and want to share data from one step to other during execution, how this can be achieved in cucumber using typescript?

igniteram commented 6 years ago

@Balajiiguru one way would be to declare global variables in that step definition file and pass the variables to other step definitions

igniteram commented 6 years ago

Since this is more of a support question and not an issue with the framework, Please ask such questions in stackoverflow to get immediate reponses. closing this issue!