One More Query on TestComplete
- 5 years ago
Hi,
By analyzing your problem, I think you can use saving values in:
Design variable - with this solution you can save the value between test iterations.
Doc: https://support.smartbear.com/testcomplete/docs/testing-with/variables/collections/project-and-project-suite/index.htmlWrite in a variable in a script - if your test is called in one function, it will be easy to write the value in the variable.
Doc: https://stackoverflow.com/questions/19211768/saving-a-javascript-variable-for-later-usageUse excel file - save data in excel and read specific cells according to the test iteration.
Doc: https://support.smartbear.com/testcomplete/docs/testing-with/advanced/working-with-external-data-sources/excel/index.htmlDepending on which programming language you use, use random values to generate a variable value.
Example in JS: https://www.w3schools.com/jsref/jsref_random.asp.