smartTest
13 years agoContributor
SetUp Scripts for current and future dates
Hiya, I'm really new to Java/Groovy/SoapUI but have found these boards to be invaluable. I'm therefore asking the community for help with something I'm struggling with.....
I've created a setUp script:
testRunner.testCase.setPropertyValue("TODAY", new Date().format("yyyy-MM-dd"));
to set a property to be Today's date. My question is, how can I amend this script to allow for tomorrow's date (i.e. Today + 1), I'm just not sure where in the script to add the + 1
thanks in advance all..
I've created a setUp script:
testRunner.testCase.setPropertyValue("TODAY", new Date().format("yyyy-MM-dd"));
to set a property to be Today's date. My question is, how can I amend this script to allow for tomorrow's date (i.e. Today + 1), I'm just not sure where in the script to add the + 1
thanks in advance all..