I have a python file which opens up socket connections, which I want to run as a test suite set up. so all the connections needed are open and listening for my test cases to send messages I know we can use Run Process to run a python file ,but how can i achieve the same in the Suite set up but running the file in background and returning the control to RobotFramework
so far what i tried is
*** Settings ***
Documentation A sample test sutie for robot testsuite
Library keywordslib/serverlib.py
Library Process
***Test Cases***
Purchase Transaction
[Documentation] A sample test
purchase transaction
my init.robot file
*** Settings ***
Documentation A sample ssss test sutie for Mada Transaction
Library Process
Suite Setup init
****** keywords ***
init
Start Process python `C:\\Users\\e064070\\IdeaProjects\\RSCATDDFramework\\src\\keywordslib\\MadaTransactionLibrary.py`
The issue what I am facing is the control do not return back to robotframework to execute the test cases
what I expect is to run that python code (serverlib.py) in the setup, and for it to continue to run in the background, while returning the control to Robot Framework to execute the cases
and after execution tear up the process running the back ground
Thanks in advance
run processas a setup step? The robot user guide shows how to run keywords as a setup step. What part of that isn't clear? - Bryan Oakley