Forum Discussion
JimL
15 years agoContributor
Hi Finan,
Great!
I ended up putting:
in the testcase setup script. I also had to add a property to the testcase named 'date'.
I can now run the testcase successfully, and also a load test that uses that testcase.
The reason I put it in the testcase setup script was that I also have a load test that uses that testcase, and I wanted to be able to have this (inserting the IssueInstant automatically) working with both the testcase and the load test.
Thanks!
Jim
Great!
I ended up putting:
testRunner.testCase.setPropertyValue("date", new Date().format("yyyy-MM-dd'T'hh:mm:ssZ"));in the testcase setup script. I also had to add a property to the testcase named 'date'.
I can now run the testcase successfully, and also a load test that uses that testcase.
The reason I put it in the testcase setup script was that I also have a load test that uses that testcase, and I wanted to be able to have this (inserting the IssueInstant automatically) working with both the testcase and the load test.
Thanks!
Jim