Android Intents

Hi,

Is it possible to sent intents from Katalon maybe threw a custom keyword? I am trying to automate some tests for our application but i am not able to select anything outside of the start application APK.

Some of the setting views are opened with intents but i can’t seem to find a way to sent those…

Thanks in advance,

Robin

Ended up creating the following custom keyword to send intents to the device.

@Keyword
def SendIntent(String intent){
try{
ProcessBuilder pb = new ProcessBuilder("adb", "-s", MobileDriverFactory.deviceId, "shell", "am", "broadcast", "-a", intent)
Process pc = pb.start()
pc.waitFor()
} catch(Exception e) {
e.printStackTrace()
}
}