I need to validate the headers of a given xls file and also i dont have MS office installed on my machine . can any one help me . the code /in .net scripts with Silk test work bench
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it! Learn more.
I need to validate the headers of a given xls file and also i dont have MS office installed on my machine . can any one help me . the code /in .net scripts with Silk test work bench
You could potentially try using an Active Data asset in Workbench. Simply created an Active Data asset and point it to your Excel document at which point you can use the ActiveData and ActiveDataRow classes in Silk Test Workbench to inspect the data. See the following help topic for more information.
If for any reason Active Data is not suitable, then you will likely need to use Vb.NET's native API's for connecting to Excel documents. For example, you should be able to find examples online for using ODBC via Vb.NET to query Excel documents.
Regards
Robert