MacOS - Multiple issues when uploading a file to Website

Hi there,
I have an issue with the file upload process using robot (we are using robot because the WebUI.fileupload does not work for us either). The issue does not occur in Chrome, Chrome seems to know how to use the file upload button

OS: MacOS Sierra 10.12.6

FireFox: 57.0.4 (64-bit)
After clicking the upload button, firefox can not “see” the upload popup, i have tried using robot to alt-tab to the popup first but this doesn’t work either

  1. Click upload button
  2. Robot just goes through all the steps but nothing happens
  3. The popup just stays there for the rest of the test

TestCase below:

import internal.GlobalVariable as GlobalVariable

import java.awt.Robot as Robot

import java.awt.datatransfer.StringSelection as StringSelection

import java.awt.event.KeyEvent as KeyEvent

import java.lang.ref.ReferenceQueue.Null as Null

import java.awt.Toolkit as Toolkit

WebUI.click(findTestObject(‘OneView Desktop/Menu links, Search and User Dropdown/User DropDown Options/obj_signature_upload_button’))

Robot robot = new Robot()

// File to be imported

fileLocation = GlobalVariable.gvar_test_files_path

StringSelection stringSelection = new StringSelection(fileLocation)

Toolkit.getDefaultToolkit().getSystemClipboard().setContents(stringSelection, null)

//Open the Goto window

robot.delay(1000)

robot.keyPress(KeyEvent.VK_META)

robot.keyPress(KeyEvent.VK_SHIFT)

robot.keyPress(KeyEvent.VK_G)

robot.keyRelease(KeyEvent.VK_META)

robot.keyRelease(KeyEvent.VK_SHIFT)

robot.keyRelease(KeyEvent.VK_G)

//Paste the clipboard value for the folder location of the file we will upload

robot.keyPress(KeyEvent.VK_META)

robot.keyPress(KeyEvent.VK_V)

robot.keyRelease(KeyEvent.VK_META)

robot.keyRelease(KeyEvent.VK_V)

// Press Enter key to close the Goto window

robot.keyPress(KeyEvent.VK_ENTER)

robot.keyRelease(KeyEvent.VK_ENTER)

robot.delay(500)

// Press right to go to subfolder
robot.keyPress(KeyEvent.VK_RIGHT)

robot.keyRelease(KeyEvent.VK_RIGHT)

robot.delay(500)

//Press S key to select file that starts with s

robot.keyPress(KeyEvent.VK_S)

robot.keyRelease(KeyEvent.VK_S)

robot.delay(500)

//Press enter to select the file and close the popup

robot.keyPress(KeyEvent.VK_ENTER)

robot.keyRelease(KeyEvent.VK_ENTER)

Thank you for any help you can offer, if needed I can add a .gif of the process

Can someone from Katalon help me out with this?

I have the same issue here
And tried to make Katalon enabled for Accessibility in System Preferences.
Does anybody have the same issue?