Second File Upload Not Selecting File

Hello! I am fairly new to Katalon and am struggling with a file upload. The test case requires two files to be added separately. The first is working just fine, but the second file gets finicky. When using the application, the user needs to click the ‘add more’ only once, but with Katalon, the only way I can get it to open the file explorer is with double click, which in Chrome re-opens the file explorer and a second file is never added, though I can see the first file explorer briefly trying to add the designated file. The test cases passes, so I have no error logs.

Below is my current test case, anything commented is what I’ve tried. I am a beginner as far as automation goes and I am trying to learn as I go.

import static com.kms.katalon.core.checkpoint.CheckpointFactory. *findCheckpoint*
import static com.kms.katalon.core.testcase.TestCaseFactory. *findTestCase*
import static com.kms.katalon.core.testdata.TestDataFactory. *findTestData*
import static com.kms.katalon.core.testobject.ObjectRepository. *findTestObject*
import static com.kms.katalon.core.testobject.ObjectRepository. *findWindowsObject*
import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint
import com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW
import as Mobile
import com.kms.katalon.core.model.FailureHandling as FailureHandling
import com.kms.katalon.core.testcase.TestCase as TestCase
import com.kms.katalon.core.testdata.TestData as TestData
import com.kms.katalon.core.testobject.TestObject as TestObject
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import as Windows
import internal.GlobalVariable as GlobalVariable
import org.openqa.selenium.Keys as Keys

WebUI. *click* ( *findTestObject* ('BasicUser/BU-AddFiles/svg_testingauto_svg-inline--fa fa-bars fa-w-14'))
WebUI. *delay* (1)
WebUI. *click* ( *findTestObject* ('BasicUser/BU-AddFiles/span_Add Files'))
WebUI. *delay* (1)
WebUI. *click* ( *findTestObject* ('BasicUser/BU-AddFiles/span_Select Files'))
WebUI. *delay* (1)
CustomKeywords. *'Upload.uploadFile'* ( *findTestObject* ('BasicUser/BU-AddFiles/div_Drag and drop here Or Select Files'), 'C:\\KatalonFiles\\hylix.jpg')
WebUI. *delay* (5)

//problem child second file
//WebUI.waitForElementClickable('BasicUser/BU-AddFiles/input_Select more files_file-more', 5)
//'BasicUser/BU-AddFiles/input_Select more files_file-more'))
WebUI. *doubleClick* ( *findTestObject* ('BasicUser/BU-AddFiles/input_Select more files_file-more'))
//WebUI.clickOffset(findTestObject('BasicUser/BU-AddFiles/input_Select more files_file-more'), 165,23)
//WebUI.uploadFile(findTestObject('BasicUser/BU-AddFiles/div_1 filesSize32.76 KB Select more files hylix.jpg 32.76 KB'),'C:\\KatalonFiles\\apsulov.jpg')
//WebUI.waitForElementClickable('BasicUser/BU-AddFiles/div_Select more files', 5)
CustomKeywords. *'Upload.uploadFile'* ( *findTestObject* ('BasicUser/BU-AddFiles/div_Select more files'), 'C:\\KatalonFiles\\apsulov.jpg')
WebUI. *delay* (5)
//problem child end

//drag and drop
//WebUI.dragAndDropToObject(findTestObject('C:\\KatalonFiles\\apsulov.jpg'), findTestObject('BasicUser/BU-AddFiles/div_1 filesSize32.76 KB Select more files hylix.jpg 32.76 KB'))
//drag and drop end

This has been resolved.