diff --git a/Tests/Regression/Manager/GUI_Common.robot b/Tests/Regression/Manager/GUI_Common.robot index 93ce43ca6..66fa0d8bf 100644 --- a/Tests/Regression/Manager/GUI_Common.robot +++ b/Tests/Regression/Manager/GUI_Common.robot @@ -255,9 +255,11 @@ Kill Agent If Still Running Kill If Still Running [Arguments] ${cmdname} - ${processes}= Evaluate psutil.process_iter() modules=psutil - FOR ${p} IN ${processes} - IF $cmdname in $p.name() + ${processes}= Evaluate list(psutil.process_iter()) modules=psutil + # Log ${processes} + FOR ${p} IN @{processes} + # Log ${p} + IF "${cmdname}" in $p.name() Evaluate $p.kill() END END