I was wondering if anyone has encountered the following problem:
In my testplans I pass data to testcases via the testdata: keyword. If I make a change to the data being passed in and re-compile the .pln file, when the I run the testcase, the updated data is not passed. I can solve the problem by closing and reopening the plan file. Although it is a pain for me to do this, I can deal with it. My concern is when I turn the scripts over to the QC Analysts who run them.
If anyone has had to deal with this before, or has any comments, it would be appreciated.
I've only seen this kind of scenario if your date / time are not accurate, and you change the data. SilkTest does not recompile the object code, so you don't see your change.
This happened to me during debug of a time sensitive test scenario. To get the recompile, I have to close SilkTest, fix my date / time to today's date / time, then open SilkTest and recompile.
Writing a crawler to delete the object code would be nice, using BATCH. Instead, I make all my tests at cleanup time reset the date / time to today's date / time with a synchronization utility. Keeps the metrics accurate as well, at least for test execution time.