Forum Discussion
joseph_michaud
Moderator
You are using a variable local to the test. The variable goes away when the test is done. If you want the value to persist between test runs then use a persistent project variable. In the following image, I increment a test-local variable, a temporary project-local variable, and a persistent project-local variable and print out their values. Their initial values are 0, 10, and 100 respectively. After the first run of the test, the incremented values are 1, 11, and 101. After the second run, the incremented values are 1, 11, and 102. Only the persistent project variable will save the value between test runs.
For more info, see the article on Variable Collections
Related Content
- 4 years ago
Recent Discussions
- 4 days ago
- 4 days ago
- 7 days ago