Hi
I am newbie for using katalon. I have to do step for upload image from my Mac gallery, but it’s doesn’t work. I want click the element then gallery window displayed, but the robot action not working
/**
* User upload image
*/
@Keyword
def uploadImage(TestObject el) {
customClick(el)
Robot robot = new Robot()
robot.keyPress(KeyEvent.VK_PAGE_DOWN);
robot.keyRelease(KeyEvent.VK_PAGE_DOWN);
robot.keyPress(KeyEvent.VK_ENTER);
robot.keyRelease(KeyEvent.VK_ENTER);
}
this is my gallery