Question: how to read data from excel file in groovy?
Answer: Create an excel file that will have sample data. ... 
If you don't have a test case then perform the below step otherwise you can skip this step. ... 
Right-click on the test case→Add Step→Create Properties. ... 
Double click on the Properties step and create the below properties by clicking the add icon.