MadhuLambu
2 years agoContributor
External table is not in the expected format
I use a DB Table / Excel worksheet that has the parameters for my test that are run in iterations. Lately, I get this randomly. External table is not in the expected format Has anyone seen this er...
- 12 months ago
See https://support.smartbear.com/testcomplete/docs/testing-with/data-driven/drivers.html
It will be similar to,
function main() { const sheet = Project.Variables.Var1; sheet.Reset(); while (!sheet.IsEOF()) { // Read your inputs var id = sheet.Value("ID"); var obj = sheet.Value("JSON"); // Populate your fields // Move to record sheet.Next(); } sheet.Disconnect(); }