Create OLEDB Connection:
- Prerequisite : ‘Microsoft.Ace.OLEDB.12.0’ provider is required to be installed
- Select OLEDB connection from the top menu >>
- Browse the excel file (only .xlsx file supported) and click on Test button. It shows the message “Connected Successfully”.
- Click on save button to save the connection
Create Data Compare Test Plan:
- Create Data Compare Test Plan for “ReportToQuery” comparison type. Select the created excel connection as connection two.
- Create a Test Case by clicking on “Add Data Comparison”
- In the Report step of Test Case creation, on the target side, provide the query “Select * From [Sheet1$]" (The 'sheet1' is the sheet name in the excel file)
- Then the query can be executed and Test Case Creation also can be completed