Forum Discussion
smartTest
13 years agoContributor
Hiya
Don't know if it would help but I am using a much shorter random number string that will write to a property.
//Generate TransactionID
testRunner.testCase.setPropertyValue("TransID", String.valueOf((int)Math.random()*1000000000) );
This gives me a random 9 digit number between 000000001 & 999999999.
Di
Don't know if it would help but I am using a much shorter random number string that will write to a property.
//Generate TransactionID
testRunner.testCase.setPropertyValue("TransID", String.valueOf((int)Math.random()*1000000000) );
This gives me a random 9 digit number between 000000001 & 999999999.
Di