I found the problem (I think) - so I don;t need help on this one.
I have a test case which insert a row into a table in the Initialization section of the Custom code, then runs a test, then checks a value in the table. The test case is set to do rollbacks before and after the test. Here’s what happening:
- The test fails because an output condition does a select to find the row that was inserted, but it does not find it.
- After the test case is completed, I check the DB table, and the row I inserted is there!
- I put a DELETE in both the Post Execution section and the Cleanup section, but it is ignored.
I have written quite a few other test cases, and this is the only one where the data inserted/updated/deleted persists after the test is completed, and is not seen dueing the execution of the test. I have deleted and recreated the test 3 times from scratch, only to see the same behavior each time. Does anyone have any idea as to what could be happening here?
Message was edited by: Harris