Function names to step definition
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2020
09:46 PM
08-19-2020
09:46 PM
Function names to step definition
Can we assign names to functions of step definitions and use it in other units ?
When("I enter {arg}, {arg}", function (param1, param2){
Log.Message("Pass");
});
For example:
When("I enter {arg}, {arg}", function enterData (param1, param2){
Log.Message("Pass");
});
Is this possible?
Solved! Go to Solution.
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2020
03:17 AM
08-24-2020
03:17 AM
Thank you for posting this question @jamadarshivani !
Let's ask Community members for help.
@AlexKaras @Wamboo @Vallalarasu_P @m_essaid could you look at this?
Sonya Mihaljova
Community and Education Specialist
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2020
12:27 AM
08-28-2020
12:27 AM
@jamadarshivani I clarified this, this does not seem possible.
Sonya Mihaljova
Community and Education Specialist
