Closed dschiller closed 4 years ago
I don't think this is possible. And I think the way to approach this is to write self containing Scenarios something like this:
Open URL "http://test1/webmo"
Set Language "<Language>"
Textbox "email" Label is "<Email>"
Textbox "password" Label is "<Password>"
Examples:
|Language|Email |Password |
|de |E-Mail- oder Anmeldename |Passwort |
Yes, sure. Thank you a lot!
I think it would be possible to share data over the world
object https://radish.readthedocs.io/en/stable/tutorial.html#world
BUT that is absolutely not recommend
Maybe using before.each_feature
would be a option for you https://radish.readthedocs.io/en/stable/tutorial.html#terrain-and-hooks
if you don't care about the visibility of the URL in your test which I'm personally not a fan of.
You can use Constants: https://radish.readthedocs.io/en/stable/tutorial.html#constants
The Feature
Is it possible to set a
Feature
Variable which holds thehttp://test1/webmo
Value which I then can pass to all Scenarios ?