Cant able to upload video file from windows explore

I have tried “Upload File” keyword its not working and i also tried UploadFile custom keyword

import java.awt.Robot
import java.awt.Toolkit
import java.awt.datatransfer.StringSelection
import java.awt.event.KeyEvent

import com.kms.katalon.core.testobject.TestObject
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI

def uploadFile(TestObject to, String filePath) {

WebUI.click(to)

StringSelection ss = new StringSelection(filePath);
Toolkit.getDefaultToolkit().getSystemClipboard().setContents(ss, null);

Robot robot = new Robot();
robot.keyPress(KeyEvent.VK_ENTER);
robot.keyRelease(KeyEvent.VK_ENTER);
robot.keyPress(KeyEvent.VK_CONTROL);
robot.keyPress(KeyEvent.VK_V);
robot.keyRelease(KeyEvent.VK_V);
robot.keyRelease(KeyEvent.VK_CONTROL);
robot.keyPress(KeyEvent.VK_ENTER);
robot.keyRelease(KeyEvent.VK_ENTER);
}

this is also not working this error msg as shown prntscr.com/hwbdbi

Kindly suggest me any other solutions to upload video from windows explorer.

Based on your screenshot, the current error related to Katalon Studio can’t click on ‘Upload’ button, so it does not execute any further steps to upload a video. This exception is thrown when you attempt to click an element covered by some other element.

You should correct the step to ‘Click’ on ‘Upload’ button first before other actions can be executed after that. That is also a reason why ‘Upload File’ keyword does “not” work due to this exception.

One workaround solution is to replace ‘Click’ action with ‘Execute Javascript’ action, e.g:

WebElement element =
WebUiCommonHelper.findWebElement(findTestObject('your/upload/object'),30)
WebUI.executeJavascript("arguments[0].click", Arrays.asList(element))

**Upload **button working and windows explore screen is shown to upload video http://prntscr.com/hwdpu4 i need to upload highlighted video that video path also I mention in katalon http://prntscr.com/hwdqrr
but video is not uploading