Changing TestObject values while running

I’m trying to make a script where I need specific lines/numbers to be scrolled to and in view. I can’t get the script to work where I can change the value of the TestObject.



**Mobile.modifyObjectProperty(findTestObject('Modular testing/Progress/Assign rows/RowNumber'),'text', 'equals', rowNumber.toString(), true)**
Mobile.tap(findTestObject('Modular testing/Progress/Assign rows/RowNumber'), 0)

as usually documentation have some answers … check part of parametrization of test object