Mia
11 years agoContributor
How to keep variable value in all keyword tests
Hello,
I have this keyword test set. In the first test, two IDs are generated, and I need to work with them in the following tests. But in each keyword test I have to define new variable and set its new value. Unfortunately, I have no way how to get those IDs except in the first test - so I cannot set the right variable value because I have no longer access to the object which returns the IDs. Any idea how to do this?
Thanks!
I have this keyword test set. In the first test, two IDs are generated, and I need to work with them in the following tests. But in each keyword test I have to define new variable and set its new value. Unfortunately, I have no way how to get those IDs except in the first test - so I cannot set the right variable value because I have no longer access to the object which returns the IDs. Any idea how to do this?
Thanks!
- Hi Miriam,
You need to use project variables or project suite variables instead of keyword test variables.