Is there an external driver for Excel (e.g., something roughly analogous to chromedriver) that would let me write end-to-end tests for a complex spreadsheet setup?
I have a script that generates a somewhat complex Excel spreadsheet, and I'd like to write automated tests to verify that the spreadsheet behaves as expected when opened in Excel.
In particular, I'd like to verify that
- The expected columns are hidden, and
- The expected cells are locked, and all remaining cells are unlocked.
I'd like to test by actually driving Excel. Although I could write tests using rubyXL to verify that the cell properties are set as expected, that does not verify that the way I set the properties does, in fact, produce the expected behavior when the spreadsheet is loaded into Excel.