How to get the name of calling feature file from step definition? #26024
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
Uh oh!
There was an error while loading. Please reload this page.
-
My framework contain
common step definitions
which calls from differentfeature
files. I want to set thelocators
base on thestep definition
calls from feature file.For example below
Steps
callingstep Definition
from common module.Common step definition
I want to choose the different locators for
save
button base on different feature file. Means ifA1.feature
file calls then point toA1-loc.cy
and ifB2.feature
file calls then points toB2-loc.cy
Beta Was this translation helpful? Give feedback.
All reactions