How to identify the calling feature file for step definition? #25682
Unanswered
sachingainewar
asked this question in
Plugins
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To make reuse of step in a new feature.
Common step definition
I want to choose the different locators for save button base on different feature file. Means if A1.feature file calls then point to A1-loc.cy and if B2.feature file calls then points to B2-loc.cy
I have No idea , how to identify the calling file? And below functions works perfectly well for the same. But calling from feature file, No idea. Kindly help me..:
Beta Was this translation helpful? Give feedback.
All reactions