Forum Discussion
- vinniewStaff
Hi dikshika114
Hope you are well.
Data driven loops will run the sessions in parallel but use the same data.
To best ensure each session use different data then I would recommend maybe using parameters or even a table variable in TestComplete.
This may involve some duplication as each test will need to reference a different table variable.
The great thing about parameters is that they can be called on execution(say your parallel execution group) or parsed into a test however Parameters are configured in TestComplete rather than an excel value.
See here for more information
https://support.smartbear.com/testcomplete/docs/testing-with/running/tips/test-run-parameters.html
Hope that helps
Vincent
- mattbStaff
Hi,
Like Vincent said you could do this through Data driven testing, I think it would be easiest through a TestComplete table variable, where you can use the data generator to generate dynamic data. https://support.smartbear.com/testcomplete/docs/testing-with/data-driven/generators/index.html- dikshika114Contributor
I have lot of values that i saves uniquely in the system. So, i just want to specify these values at one place that could easily be changed before start execution like in excel file.
Unable to understand the way, how it can be called differently while Parallel execution with CBT. (I have configured the Browser and Platforms in Execution Plan Like shown in Screenshot)
Please explain the way somewhat deeply. How can i do that. Because i have no idea about that.
Attaching the screenshot of my excel file also where data is separated with test case and the field names which i want to change for every browser which are running parallelly.
Please provide a straight away sample script to achieve that.
Thanks
- ebarberaStaff
Hi dikshika114 -
It is still possible to avoid deleting the posts with my approach - i think you will find this a bit more streamline.
Let me know your language of choice.
Emma
Related Content
Recent Discussions
- 14 hours ago
- 15 hours ago
- 20 hours ago