Access thread count number
Hi. Is there a possibility to acces the current thread count as a property or something else? I would like to write some properties into an external file, but I also have to know the actual thread count when testing with several threads. I'm accessing my file as follows: File file = new File("D:/saveLabel.properties") file.delete() file << ("\r\n") file << ("PickupCode: ") file << (testRunner.testCase.getPropertyValue("PickupCode").toString()) So, my question: Is there a possibility to acces the number of the thread which is actually running? (Like testRunner.testCase.getPropertyValue("actualThreadCount").toString()) or something like this..) Thanks in advance.Solved1.8KViews0likes1CommentCannot Change Output File Within a Loop
I'm trying to loop over several excel files in a directory, perform some actions, then output a new file for each one of those based on what I did. My script is performing all of the actions correctly except it will not rename the out file in the Data Sink step. It will just keep using the same file and dump everything into it. I've tried several ways of changing the output file name with no luck (Use property transfer, direct reference, groovy script). I have confirmed through debugging that it is correct grabbing the next file name and performing the actions on all the files. It just wont change the Out File name. Any help or suggestions on things to try would be great. Thanks!1.5KViews0likes3CommentsTest results in Visual Studio Online
Hi, I am trying to addour TestComplete test results to the Build steps and dashboard in Visual Studio Online as we keep track of everything through this but have so far failed to make it work. From what I can tell the xml and mht output does not work with vso. Running the tests through the use of MSTest.exe inthe commandline gives me a trx format which is supported by Visual Studio Online but I could not get the tests running even though it works when I start it from within Visual Studio 2015. If anyone has managed to get this to work, please share how you where able to achieve this. Any help is much appreciated. Cheers, Erwin1KViews0likes1Comment