robotframework-2.7.7.atest.robot.cli.rebot.argumentfile.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!
*** Settings ***
Test Setup Empty Output Directory
Suite Setup Set Runners
Force Tags regression pybot jybot
Resource atest_resource.txt
Resource rebot_cli_resource.txt
*** Test Cases ***
Argument File
${content} = Catenate SEPARATOR=\n
... --name From_Arg File -D= Leading space -M${SPACE*5}No:Spaces
... \# comment line ${EMPTY}
... --log=none -r=none -o myout.xml --outputdir ${MYOUTDIR}
... ${MYINPUT}
Create File ${MYOUTDIR}${/}a.txt ${content}
${output} = Run ${REBOT} --log disable_me.html --argumentfile ${MYOUTDIR}${/}a.txt 2>&1
Should Not Contain ${output} ERROR
Directory Should Contain ${MYOUTDIR} a.txt myout.xml
Process Output ${MYOUTDIR}${/}myout.xml
Should Be Equal ${SUITE.name} From Arg File
Should Be Equal ${SUITE.doc} ${SPACE}Leading space
Should Be Equal ${SUITE.metadata['No']} Spaces