hi, first post. We have been asked to port our “black box” integration tests from C# (xunit) to robot framework. I don’t have any python experience, but I gather it could be possible to use python.net so we can build some wrappers around our C# libraries (messaging using non-http TCP and UDP) to do something like:
from win32com.client import GetObject, Dispatch
import pywintypes
So I suspect you’ll need to do something like that, but hopefully this module’s code will give you the pointers you need
After that, I’d suggest breaking the problem in 2 parts:
Create a python module that wraps all the functions in the C# Libraries functions
create a robot framework library (python file) that provides keywords that call those functions and provides high level keywords like Send App Message, Receive App Message, Wait For App Message, etc You’ll know better than me what the keywords should be.
I’ve created python robot framework libraries and python modules, so can help with that, but I never needed to load a DLL because I used the WMI library for my python module.