Robotframework Toml Inheritance does not work? #536
Unanswered
KASHElbassraoui
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
I believe that what you'd like to use is the https://robotcode.io/03_reference/config#extend-variables This should 'append' or change the values set in your default profile and keep the rest as inherited. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to create a main profile and three sub-profiles in the Toml file for the Robotframework tests.
I tried the following
[profiles.1]
inherits = “default-profile”
and in [profiles.1.variables] only those that differ from the base profile.
Unfortunately, inheritance does not work as expected because the other variables cannot be found in the main profile.
It actually expects all other variables to have values, otherwise the test throws errors saying that the variables are either empty or cannot be found at all.
Are there certain rules that need to be followed?
Beta Was this translation helpful? Give feedback.
All reactions