I have reviewed the information provided by you, to the extent that it was not already known to me, and I do not see a solution to my problem here:
- Either I need to work through the existing operator ExcelCheckpoint, but I cannot figure out how to call a different table each time using a parameter or variable that needs to be checked by the checkpoint.
- Or I need to work entirely through a script, where I have to manually construct the Excel file field by field. This is too laborious, and I also have doubts about whether I can work with a variable in this case.
I want to use the standard ExcelCheckpoint but call the table to be checked via a parameter.
It shouldn't be so difficult, in my opinion; I don't understand why I can't insert a variable in the script between Tables. ..., Check(), if that were possible, my problem would be solved.
Let me summarize the actions I am taking (there may be another solution for this):
- I want to create a single keyword test that I can control with parameters (possibly via project variables).
- The keyword test exports data to an Excel file (after performing various other keyword tests in my desktop application), and the data in this file should always be the same. So, I have created a table in advance that contains the expected data.
- I use the Excel Checkpoint to compare the data from the latest export with the data in my table.
Best regards, Sjef