Эх сурвалжийг харах

separate variables into separate file

Daniel Sheffield 2 жил өмнө
parent
commit
09ee06754d

+ 1 - 3
Download Statements.robot

@@ -6,6 +6,7 @@ Library    Collections
 Library    DateTime
 Library    OperatingSystem
 Library    Process
+Resource    Variables.robot
 
 Suite Setup   Run Keywords     Set Executable Status
 ...    AND    Suite Can Continue
@@ -26,9 +27,6 @@ Task Template    Download Statement
 
 *** Variables ***
 ${HOME_PAGE}    https://www.asb.co.nz
-${USERNAME}    login username
-@{ACCOUNTS}    Account 1    Account 2    Account 3    Account N
-${ACCOUNT_HOLDER_NAME}    Name of account holder
 ${LANDING_PAGE}    ${EMPTY}
 ${FROM_DATE}    ${EMPTY}
 ${TO_DATE}    ${EMPTY}

+ 4 - 0
Variables.robot

@@ -0,0 +1,4 @@
+*** Variables ***
+${USERNAME}    login username
+@{ACCOUNTS}    Account 1    Account 2    Account 3    Account N
+${ACCOUNT_HOLDER_NAME}    Name of account holder

+ 0 - 2
run.sh

@@ -1,3 +1 @@
-#export PATH=$PATH:$HOME/bin/gecko-driver
-#export PATH=$PATH:$HOME/bin/edge-driver/edgedriver_linux64
 /usr/bin/python3 -m robot.run -T --dotted --outputdir /tmp Download\ Statements.robot