Hello,
I'm new to robotframework and hopefully I'm not posting a question already asked lots of times.
So here it is:
I want to use the BDD style with robotframework (and selenium library, which is not so interesting in the context of my question).
Now I've already defined a test case:
Valid Login
Given browser is opened to login page
When user "h.wach" logs in with password "Anfang5!"
Then xyz page should be open
I've defined all the keywords and it works fine (should so, since it's just leaned on the example project).
Now I want to create the next test case which in Fact depends on the Valid Login already defined as test case.
So I (quite naturally to my opinion) want to define:
Search Contract
Given Valid Login
When Keyword "ThisIsTheKeyword" is searched
Then Auftraggeber "Mary" should be found
But this is failing with "No keyword with name 'Given Valid Login' found".
So what am I missing? Or is this construct simply impossible?
greetings
Jürgen