Hello
im trying to runnning mobile automation with different application, but the UI still same, why i got problem that object not found ?
thanku
Hello
im trying to runnning mobile automation with different application, but the UI still same, why i got problem that object not found ?
thanku
Hello and welcome @imam to the Katalon Forum, Please see this posting: [TIP] How To Help Us Help You! so someone can help you with your issue.
Hi,
I would like to suggest that you should use some waits to let the object visible
I use WebUI.waitForElementVisible…
//Imports
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
//Test case body
WebUI.openBrowser('')
WebUI.navigateToUrl('https://en.wikipedia.org/wiki/Main_Page')
WebUI.waitForElementVisible(findTestObject('005 SampleCases/Main_Page'), 10)
Hi @imam, @Elly_Tran makes a good point…
I normally use Wait For Element Visible
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
WebUI.openBrowser('')
WebUI.navigateToUrl('https://en.wikipedia.org/wiki/Main_Page')
WebUI.waitForElementVisible(findTestObject('005 SampleCases/Main_Page'), 10)
Since you are have “mobile testing” in your forum heading, and there doesn’t seem to be the same command as Web, you might try:
and then after the element is present, then you can verify that it is visible:
hi, thanks for all who answer my question .
this issue has been resolved
i did right click object on test case → and then open object → then change resource-id and package value with other application ID that i used