Forum Discussion

SiKing's avatar
SiKing
Community Expert
11 years ago

DataSource Excel wrong worksheet


  1. Create a testcase that uses DataSource Excel.

  2. For the Worksheet specify a name that does not exist in your spreadsheet.

  3. In the testCase options, set Abort on Error = checked.

  4. Run the testCase from command like testrunner. Notice testrunner will exit with error status.

  5. Change the testCase options, set Abort on Error = unchecked.

  6. Run the testCase from command like testrunner. Notice testrunner will now exit with non-error status.