Today\'s date per suite
We have assigned the QARun ''today's date'' to a date that the user should key in one of our scripts. We want to include this script in a suite.
Is it possible to assign the value of ''today's date'' per suite ?
Re: Today\'s date per suite
If I understand you correctly the following may help.
Firstly set up a variable to assign todays date to, ie Tdate.
Get the system date, use function
Date(). Ie result = date()
use QA string manipulation functions to extract the date in the format you require.
I.e. LtrimStr() and RtrimStr() come in very handy for this.
Assign the required output to a variable and pass it as a unique parameter to any functions/test suites necessary .
regards, Simon Wellington.