What is the best way to make a selection of something variable? From my current experience I don't know what is the best strategy. It seems there are at least a couple ways to automate the selection:
1. mouse/click/variable repository item
2. Set Value/Checked/True or False - use multiple times for different selections
Scenario 1:
option 1 = true
option 2 = false
Scenario 2:
option 1 = false
option 2 = true
Best Practices for Variables
Re: Best Practices for Variables
It always depends on what you are trying to accomplish with your test and how your SUT is structured. I do both at times.
I prefer to variablize the repo object because it is usually easier and you don't have to worry about coding it.
I prefer to variablize the repo object because it is usually easier and you don't have to worry about coding it.
Shortcuts usually aren't...