Hi,

Im looking for a way to create excel report using the Selenium+TestNg framework.

I want following data to be passed to the excel report for every test step executed in my script.

Expected result
Actual result
Pass/Fail

For example -
1. If I Have to check if the Sign In button is enable or not then I need to send following data to the excel sheet

Expected result - To verify that sign in button is in enable mode
Actual result - Sign in button is in enable mode.
Pass/Fail - Pass

2. In the next step I need to check if home screen is displayed...then I need to send following data to the excel sheet

Expected result - To verify that Home screen is displayed
Actual result - Home screen is displayed.
Pass/Fail - Pass


As above I need to pass all the pass/fail results to excel file.