I have two test cases in one test suite for mobile testing.
One test case is to get password, and save them as GlobalVaribale.TempPwd.
GlobalVariable.TempPwd = Mobile.getDeviceHeight()
Second test case is to take this GlobalVaribale.TempPwd. to variable password, and passing value to an object via keyword Mobile.setText(findTestObject(‘Login Page - enter password’),password, 0)
However, the variable password’s value is being updated.
But the second test is failing and error is Reason: groovy.lang.MissingMethodException: No signature of method: static com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords.setText() is applicable for argument types: (com.kms.katalon.core.testobject.TestObject, java.lang.Integer, java.lang.Integer) values:
Post the code only from the Test Case that is issuing the error.
Post the code cleanly and post the entire error log.
Based on what I see above, for the code that’s issuing that error, you are sending one Test Object and two integers to setText()there is no such method in Katalon’s API set.