Reading the Dynamic Number

You need to pass the TestObject to the findTestObject() function, as was explained here:

and here: