groovyguy
8 years agoCommunity Hero
Script Assertion Default Size
Is there a way to set the default size for the Script assertion editor window? The default size currently is a very small square which makes it difficult to work on the script. Every time I open a sc...
- 8 years ago
MD01,
Here your go:
Looks like this is your question in Stackoverflow which happened to answer there already.
It would be easy if you use time category as shown below.
use(groovy.time.TimeCategory) { def halfHourFromNow = new Date() + 2.hour log.info halfHourFromNow.format("yyyy-MM-dd HH:mm:ss") }
You can quickly check it online demo