user26374107
user26374107

Reputation: 29

Karate desktop automation - application launch issue and locators difference between Windows and Mac OS

Unable to launch the application for Mac OS using the below Karate-robot fork option

Meanwhile same application path is working fine in windows with karate-robot-fork option.

Desktop application elements which is identified in Windows are not recognized in Mac OS.

For launching the application instead of using Karate Robot fork option I have used external Java class and call the function.

I am also able to launch the application in Mac by calling the external java class.

Expectation: need a help to launch the application in mac via Robot fork command.

For Object identification issue, I have used the external Java function to recognize the objects as below

def `appleScriptHelper `= Java.type('utils.AppleScriptHelper')

# Open the application
* appleScriptHelper.openApplication(appPath)

# Click the login button
* appleScriptHelper.clickLoginButton()\

Upvotes: 0

Views: 33

Answers (0)

Related Questions