-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.robot
26 lines (22 loc) · 1002 Bytes
/
__init__.robot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
*** Settings ***
Library OperatingSystem
Library Process
Library Collections
Suite Setup Run TestDataTable
*** Variables ***
${TDT_portno} 1080
${TDT_pyfile} ${EXECDIR}${/}testdatatable${/}TestDataTable.py
${TDT_cmd} python3 ${TDT_pyfile}
${TDT_process} None
*** Keywords ***
Run TestDataTable
[Arguments] ${options}=None
IF ${options} == None
${options}= Create List
END
Append To List ${options} -p ${TDT_portno}
Log to console ${\n}\${options}: ${options}
# ${process}= Start Process python3 ${pyfile_agent} @{options} alias=Agent stdout=${OUTPUT DIR}${/}stdout_agent.txt stderr=${OUTPUT DIR}${/}stderr_agent.txt
# ${process}= Start Process ${TDT_cmd} @{options} alias=TDT stdout=${OUTPUT DIR}${/}stdout_TDT.txt stderr=${OUTPUT DIR}${/}stderr_TDT.txt
${process}= Start Process python3 ${TDT_pyfile} @{options} alias=TDT stdout=${OUTPUT DIR}${/}stdout_TDT.txt stderr=${OUTPUT DIR}${/}stderr_TDT.txt
Set Suite Variable $TDT_process ${process}