Ask a Question

How can I concurrently run the same data-driven test using data file on multiple environments?

SOLVED
romrellob
Occasional Contributor

How can I concurrently run the same data-driven test using data file on multiple environments?

I have data driven tests that I want to run concurrently in different environments.  The problem is that the first one running locks the Excel data file so that the other TestComplete instances can't read it.  What is the best practice for running the same data driven test on multiple environments?  

 

I have parameterized the start base URL so that I can easily switch the environment that I want to run against. 

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: How can I concurrently run the same data-driven test using data file on multiple environments?

Before the tests run, you could make copies of the file for the multiples to use.  You'd still only need to maintain one file.  

https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqfilesystem/copyfile.html


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

1 REPLY 1
Marsha_R
Community Hero

Re: How can I concurrently run the same data-driven test using data file on multiple environments?

Before the tests run, you could make copies of the file for the multiples to use.  You'd still only need to maintain one file.  

https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqfilesystem/copyfile.html


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: