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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?.