Hello,
Thanks for answer. It does not solve my issue though:
First of all I cant use autoimport… so after googling a bit I found this: Can we use Mobile Driver Factory(like web driver factory) and how to implement it to know what imports to use.
But the “runAppInBackground” function still fails:
Test Cases/TakeScreenshots FAILED.
Reason:
groovy.lang.MissingPropertyException: No such property: Duration for class: Script1555793259667
at TakeScreenshots.run(TakeScreenshots:31)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
It looks like its still not imported properly:
And when I try to use cmd+shift+m for autoimport I get: