What dose robotlibcore.HybridCore used for

102 views
Skip to first unread message

yiyang zhang

unread,
Oct 25, 2019, 1:52:58 AM10/25/19
to robotframework-users
Hi,

Seems this library is used to make all custom test libraries to one test library, and then only need to import this library in resource file, right?


Aurélien Truco

unread,
Oct 25, 2019, 6:48:44 PM10/25/19
to robotframework-users
On github, there is an official project using it. Called Robot Core Lib (I don't remember it).

Pekka Klärck

unread,
Oct 26, 2019, 3:25:59 PM10/26/19
to zhang yiyang, robotframework-users
Hi,

The aim of this project is making it easier to create bigger test libraries. Instead of having all keywords in same class or module, you can split them to multiple classes/modules. A good example of this is the SeleniumLibrary. It uses the DynamicCore, not HybridCore, because it makes it easier to run a custom action if a keyword fails.

The whole PythonLibCore project was actually created to enhance SeleniumLibrary architecture. Unfortunately it hasn't yet been documented adequately and due to me being busy with Robot Framework 3.2 and then 3.3, I don't know when I'd have time for it. If there are others interested to help maintaining the project, let me know!

Sent from my mobile.

pe 25. lokak. 2019 klo 8.52 yiyang zhang <yyzhan...@gmail.com> kirjoitti:
Hi,

Seems this library is used to make all custom test libraries to one test library, and then only need to import this library in resource file, right?


--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/CALkTEfR8yvtjmQPOVh7YHWLJy88hYt%2B5e5dtK%3D-DMT-kF-hk0Q%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages