Question

I have a robot test suite that contains child test suites, and those have their own child test suites. All tests use a certain set of variables and libraries.

As far as I can tell, I have to define the variables and import the libraries in every single test suite. I hope I'm just missing a trick -- is there a better way to make these things available to all tests at all levels of the hierarchy?

Bonus points if I can do it in a way that supports keyword completion in RIDE. I'm using RIDE 1.2.3 and robot 2.8.3

Était-ce utile?

La solution

Create one main resource where you import everything and then import only that main resource in every test suite.

Autres conseils

You can wire a resource file and polulate it with Keywords that can be imported into your test suites and test cases. Read the detailed explaination.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top