How to read test data in excel sheet through feature file

32 views
Skip to first unread message

Imran Khan

unread,
Dec 6, 2019, 12:58:50 PM12/6/19
to cu...@googlegroups.com
Dear all,

How can I read test data from an external file like an excel sheet through cucumber based on the "flag" value? For e.g.
Username Password Flag
TEST test 1
Please consider the above data is in an excel sheet and I have to read it through the "Flag" value. If I pass "1" in a feature file. Then it should read the first user name and first password and so on. Can you please help me out with this?.  

Best Regards,
Imran.
Reply all
Reply to author
Forward
0 new messages