rgratis
11 years agoFrequent Contributor
Issue exporting log for current test item when using parameterized routines
In my test suites, I have failure handling that exports the log for the current test item and sends it out for review. I've noticed that when I have test items that call the same script routine with different parameters, the log export ends up being for the first test item that uses the script routine and not the current test item.
I've created a sample project for this. It contains three test items that call the same script routine with a different parameters. The third test item is coded to fail and export the log. The exported log is for Test 1 (the first test item), when I expect it to be for Test 3 (the current test item).
Am I doing this incorrectly, or does this appear to be a bug in TestComplete?
Thanks,
--Rachel
I've created a sample project for this. It contains three test items that call the same script routine with a different parameters. The third test item is coded to fail and export the log. The exported log is for Test 1 (the first test item), when I expect it to be for Test 3 (the current test item).
Am I doing this incorrectly, or does this appear to be a bug in TestComplete?
Thanks,
--Rachel