Robot Framework works with C#?

Hi, I need some help.

The RF works with C#? or just with java and phyton language?

Many thanks in advance.

You could probably use this to write keywords in C#:

You’ll have to familiarize yourself with the RF Remote Library concept, though:

1 Like

Does not have to be remote server implementation …

python has ctypes module which can be used to interact with native code. For example, robotframework-whitelibrary is/was python library but all the actual interactions was implemented in (c# / .net) and ctypes was used to glue those together.

1 Like

Hi, you can also create a library(s) in python, where keywords will just wrap calls to the C# code - this can be done with pythonnet (GitHub - pythonnet/pythonnet: Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers.).

1 Like

true that :smiley: “my example” was using that and not ctypes ( https://github.com/Omenia/robotframework-whitelibrary/blob/master/src/WhiteLibrary/init.py#L5 )