Execution Plan - Count - Stops on Failure
In the Execution Plan there is a column called "Count". My understanding of this column is it will cause the same test to run that many times while the plan is being executed. I have found that if one of those test runs were to fail, no more of those repeat runs will be done, and the execution will move onto the next test, even if "On Error" = "Continue running". We are currently in the process of investigating some flaky tests and it would be really handy if we could get say 10 failed results for the same test in an overnight run so that we can compare them. I don't see any settings that would make counts continue even after a failed test, but it would be really nice if there was one. The only workaround I've been able to find is just adding the same test to the Execution Plan multiple times, which is a bit cumbersome. Any ideas on a setting that I'm missing? Is there a feature request somewhere that I could +1?1.4KViews0likes6CommentsCount characters from end of a string to front
Hi guys. Is there any option to count the characters in a string to a specific length from back to front, for example I have a string that says Hello but want to count the characters up to the letter "e", meaning "llo" that equals 3. Which method should this be. Thank you.Solved2.4KViews0likes6CommentsAccess 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.8KViews0likes1Comment