Skip to content

Commit

Permalink
Still getting informations
Browse files Browse the repository at this point in the history
  • Loading branch information
ArekKuczynski committed Apr 18, 2024
1 parent 1a34e0d commit f88369a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Tests/Regression/Manager/GUI_Common.robot
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ ${pyfile_manager} ${EXECDIR}${/}rfswarm_manager${/}rfswarm.py
${pyfile_agent} ${EXECDIR}${/}rfswarm_agent${/}rfswarm_agent.py
${process_manager} None
${process_agent} None
${results_dir} ${OUTPUT DIR}${/}results
${agent_dir} ${OUTPUT DIR}${/}rfswarm-agent

*** Keywords ***
Set Platform
Expand All @@ -42,10 +44,15 @@ Open Agent
Set Test Variable $process_agent ${process}

Open Manager GUI
# [Arguments] ${options}
[Arguments] ${options}=None
IF ${options} == None
${options}= Create List
Create Directory ${results_dir}
Append To List ${options} -d ${results_dir}
END
Log to console ${\n}\${options}: ${options}
Set Confidence 0.9
# ${process}= Start Process python3 ${pyfile_manager} alias=Manager stdout=${OUTPUT DIR}${/}stdout_manager.txt stderr=${OUTPUT DIR}${/}stderr_manager.txt
${process}= Start Process ${cmd_manager} alias=Manager stdout=${OUTPUT DIR}${/}stdout_manager.txt stderr=${OUTPUT DIR}${/}stderr_manager.txt
${process}= Start Process ${cmd_manager} @{options} alias=Manager stdout=${OUTPUT DIR}${/}stdout_manager.txt stderr=${OUTPUT DIR}${/}stderr_manager.txt
Set Test Variable $process_manager ${process}
Sleep 10
Set Screenshot Folder ${OUTPUT DIR}
Expand Down

0 comments on commit f88369a

Please sign in to comment.