Solved
It can hold only string value.
So, cast it to string while storing into property and parse it to integer when you get the value back and use it.
testRunner.testCase.setPropertyValue( "loops", count.toString())
It can hold only string value.
So, cast it to string while storing into property and parse it to integer when you get the value back and use it.
testRunner.testCase.setPropertyValue( "loops", count.toString())