Localizing Your Acceptance Tests With The Robot Framework
6.4.2010 | 1 minutes reading time
When doing acceptance test driven development, the team writes the tests often by first specifying the behaviour, and then supporting that with a table of examples. How that generally works with the Robot Framework, was already described earlier . As executable specification, those automated tests have to be understandable by all stakeholders. By all means, this includes that they should be written in everybody’s mother tounge – and more often than not, this is not English. This currently does not work with the Robot Framework, does it?
With a simple resource file, you can easily work around that issue, until it will be solved with the forthcoming Robot Framework 2.5 .
Now a test can be written easily, like shown in the example below:
Note that this even works with Umlauts and punctuation marks – in Python and in Jython. A fact, that pleasantly surprised me today 🙂
More articles in this subject area
Discover exciting further topics and let the codecentric world inspire you.
Blog author
Andreas Ebbert-Karroum
Do you still have questions? Just send me a message.
Do you still have questions? Just send me a message.