Forum Discussion
There are good examples here:
https://support.smartbear.com/testcomplete/docs/keyword-testing/basic/data-driven-loops.html
- Largent8034 years agoContributor
I was looking through this information and it looked like the system wanted me to go out to a database or csv file. In this case I am entering the same data over and over again and there is no place where this information is stored other than the environment that I am working with.
- Marsha_R4 years agoModerator
Well, you are going to have to store it somewhere so TestComplete knows what the data is.
Another option would be to use a table variable and store the data that way. Then you can use a while loop to iterate through the data.
https://support.smartbear.com/testcomplete/docs/testing-with/variables/data-types/table.html
- Largent8034 years agoContributor
What I am doing is creating the data in a development environment website. I do not have access to the data in a database other than if I am selecting the data from the user interface. I can create multiple items with the same name as the data will be deleted in time. There are multiple testers on our systems who can lock up a record what I want to do is set up a test where I create 10 or 20 records and then randomly select one to update, clone or do other things to the data. I do not store the data as that is done by our development environment.
Related Content
- 4 years ago
- 8 years ago
- 4 years ago
Recent Discussions
- 5 hours ago
- 6 days ago
- 10 days ago