Writing Feature file for cucumber web table | Selenium Forum
S
Sudeep Posted on 20/02/2021

Hi

can you please help me with an example of a feature file on how to write different scenarios for a web table in a feature file


A
Ashish Thakur Replied on 21/02/2021

What action do you want to perform on webtable


S
Sudeep Replied on 21/02/2021

My Requirement is There is a dynamic web table on a particular page in the application

so I want to validate type of data added in each column in a web table

for eg if there is a Date/Time column then I want to validate the column has date/time format as mm-dd-yy hh:mm:ss

and like this there are 5 more columns in which different data will be reflecting

so please tell me how should I write a feature file


A
Ashish Thakur Replied on 23/02/2021

You should make custom functions for each col

validateDate

validateXXXX

validateYYYY


Related Posts