I'm new to Robot Framework, I have created this code to create a folder of current date but now I don't know how to use it at the time of test suite run. So that whenever I run my suite it will store in separate folder i.e. date wise. This the code for create Folder with system date:
*** Keywords****
Create Folder
${Resultdir}= C:/Users/xyz
${date}= Get Current Date result_format=%d-%m-%y
${date}= Convert to String ${date}
create directory ${Resultdir}/${date}
Currently I'm using this command to create dir:
robot -d Results\Default --log NONE --output NONE --report NONE Tests/GeneralTestSuite/CreateResultFolder.robot
I want this code at : pybot -d {CurrentDirecory} Test\TestSuite\Abc.robot