mfoster711
11 years agoRegular Contributor
Maybe variables are not my solution
I thought using network, project or projectsuite variables were my solution but aparently this is not the case. Here is what I am trying to accomplish:
I have a single Testcomplete project that is saved on a network drive. I use this project in shared mode on multiple PCs. When I run my testing, I open the project on PC#1 and have it execute my tests on 10 other PCs using distributed testing and TestExecute.
I need to set some variable data values when I run my testing and this data is used amongst the different PCs. This data is unique for each PC, it is specific to the application I am testing and varies during different test runs.
For example, UserID & Password is one of the pieces of data that needs set for my testing. I use a form to select which UserID gets assigned to each PC that will be used in this processing. PC#2 might be assigned UserID X, PC#3 gets UserID Y, etc. I then begin my testing by starting the distributed testing process on PC#1.
Frequently, I might need to go to one of the test PCs and troubleshoot an issue with the testing. Let's say PC#3 had an issue and this issue required me to reboot the PC. After rebooting PC#3, I need to sign back into my application to peform the testing. I open TestComplete on PC#3 and open the same project that was used on PC#1. I now need to know which UserID to use on PC#3. I need to know the UserID that was selected when I began the distributed testing process from PC#1.
How can I do this??
I thought variables would work but they don't. In the past I would save this data to a simple text file on my network and then each of the test PCs would open the text file to get the information needed for that specific PC. It seems like I will need to keep using a text file which really makes me wonder what is the point of network, project or projectsuite variables.
I have a single Testcomplete project that is saved on a network drive. I use this project in shared mode on multiple PCs. When I run my testing, I open the project on PC#1 and have it execute my tests on 10 other PCs using distributed testing and TestExecute.
I need to set some variable data values when I run my testing and this data is used amongst the different PCs. This data is unique for each PC, it is specific to the application I am testing and varies during different test runs.
For example, UserID & Password is one of the pieces of data that needs set for my testing. I use a form to select which UserID gets assigned to each PC that will be used in this processing. PC#2 might be assigned UserID X, PC#3 gets UserID Y, etc. I then begin my testing by starting the distributed testing process on PC#1.
Frequently, I might need to go to one of the test PCs and troubleshoot an issue with the testing. Let's say PC#3 had an issue and this issue required me to reboot the PC. After rebooting PC#3, I need to sign back into my application to peform the testing. I open TestComplete on PC#3 and open the same project that was used on PC#1. I now need to know which UserID to use on PC#3. I need to know the UserID that was selected when I began the distributed testing process from PC#1.
How can I do this??
I thought variables would work but they don't. In the past I would save this data to a simple text file on my network and then each of the test PCs would open the text file to get the information needed for that specific PC. It seems like I will need to keep using a text file which really makes me wonder what is the point of network, project or projectsuite variables.