0% found this document useful (0 votes)
17 views7 pages

DataTables

Uploaded by

Swati Jaiswal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views7 pages

DataTables

Uploaded by

Swati Jaiswal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Instead of sending parameter in form expression, send them in form of data table.

https://cucumber.io/docs/cucumber/api/?lang=java

When I run as cucumber feature:

1. Single row with no header:


Run the feature file using cucumber option.

It means for the list, must be single column, now use values method instead of asList method.
Now run

Use row(number) method:


Running successfully.

For multiple rows without headers:


Not using any data table method, instead using list of list parameter:

Multiple rows with headers:

You might also like