Your Test Case snippet is this:
println WebUI.getText(findTestObject(myTestObjectId))
This is not enough.
The following code would work:
println WebUI.getText(findTestObject(myTestObjectId, ['webElmId' : 3]))
See the API doc of ObjectRepository#findTestObject(String, Map)