Is there a way to pass properties file value to the Cucumber Data Table?

56 views
Skip to first unread message

Gheeno San Pascual III

unread,
Jan 13, 2020, 7:11:06 PM1/13/20
to Cukes
Description : 
As a tester, I would like to maintain constants in my properties file. Using a data loader I can convert the prop file value to a POJO.
How do I use said POJO in the Cucumber Data Table?

Example Feature :
Given <user> logs in to <url>
| user | url |
| userOne | urlOne|
| userTwo | urlTwo | 

POJOs (userOne, UserTwo etc) are String objects.

Thanks for the help.
Gino
Reply all
Reply to author
Forward
0 new messages