MrDysprosium
8 years agoContributor
Just started, how would I create a variable that changes every time I run a test?
I want to create a test that runs many times, and each time the test is run the input from the test should be slightly different.
For instance, I want to create many records in my software, and the name of each record will just be "1", then "2", then "3"...
I know how to do this programmatically, but how do I tell TestComplete to run my script and use this new value, and retain the current value of the variable so that it may change again for the next loop?
EDIT: To further clarify, I want the highlighted "SetText" value to be the result of a python function that generates a unique string each time. It's not very clear on how to do that.