Specifying the Sheet that is Used for ActiveData in a VB .NET Script

When you have defined an Excel spreadsheet as the source for an ActiveData asset, and this ActiveData asset is used for ActiveData testing in a VB. NET script, you can use the sheetName parameter of the LoadActiveData method to specify the sheet that you want to use during execution. For additional information, see LoadActiveData Method.

During execution of the VB .NET script, Silk Test Workbench throws an error if the specified sheet does not exist within the Excel spreadsheet. In this case, review the Excel spreadsheet and specify an existing sheet.