I have a c++ code which upon build gives me .so file. I want to use the methods from that .so file into my robot framework. Any suggestions please.

  • 1
    what is your use case ? usually calls will be made from Robot to external binaries (aka C++ code) not the other way around – Rsf Oct 25 '19 at 9:40

You can create your own test library that would support calling functions of your so within Robot framework. Here is the official guidelines for creating test libraries. As they recommend in the guidelines, in order to integrate the code of shared libraries to your tests you should use ctypes python library in your robot framework test library code.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.