robotframework-2.7.7.atest.resources.rebot_resource.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of robotframework Show documentation
Show all versions of robotframework Show documentation
High level test automation framework
The newest version!
*** Setting ***
Resource atest_resource.txt
*** Variable ***
${ORIG_START} Set in Create Output With Robot
${ORIG_END} -- ;; --
${ORIG_ELAPSED} -- ;; --
*** Keyword ***
Create Output With Robot
[Arguments] ${outputname} ${arguments} @{datasource}
Run Tests ${arguments} @{datasource}
Is Valid Timestamp ${SUITE.starttime}
Is Valid Timestamp ${SUITE.endtime}
Is Valid Elapsed Time ${SUITE.elapsedtime}
Set Suite Variable $ORIG_START ${SUITE.starttime}
Set Suite Variable $ORIG_END ${SUITE.endtime}
Set Suite Variable $ORIG_ELAPSED ${SUITE.elapsedtime}
Run Keyword If "${outputname}" Move File ${OUTFILE} ${outputname}
Check times
[Arguments] ${item} ${start} ${end} ${elapsed}
Should Be Equal ${item.starttime} ${start}
Should Be Equal ${item.endtime} ${end}
Should Be Equal As Integers ${item.elapsedtime} ${elapsed}