Upload file in a test case

trying to upload a file using katalon studio but dont know which object name to use

element: or Select files
xpath: /html/body/ngb-modal-window/div/div/attachments-uploader-modal/div/div[2]/div[1]/div[2]/attachment-uploader/div/div/div/div/label
selector: body > ngb-modal-window > div > div > attachments-uploader-modal > div > div.modal-body > div:nth-child(2) > div.section-body > attachment-uploader > div > div > div > div > label
jsPath: document.querySelector(“body > ngb-modal-window > div > div > attachments-uploader-modal > div > div.modal-body > div:nth-child(2) > div.section-body > attachment-uploader > div > div > div > div > label”)

if I copy the element, xpath, selector and jsPath. I think the common name is attachments-uploader-modal . should I use this one or the attachment-uploader

the example I see the uploadFile is used but that did not work.

Hello,

at the first look the selectors looks invalid. Basically all are the same, but it locates some label element, which is not correct for uploading a file. It should be input element (it may be hidden and overlayed by UI framework implementation).

If you can share your HTML code snippet around your upload button, we may help you.

this is the html.
or Select files

I need to use the upload keyword. what should I use for the test object.
example:
WebUI.uploadFile(findTestObject(‘input_browse’), ‘D:\test-photo.png’)

what should the input_browse be for the html I have? also what is the file path should be for a mac book pro?

thanks
Waiki

I cannot see any HTML snippet. Could you please re-post it again?

it is there. you have to use raw view it is in ‘or Select files’

I see. Is there any input element nearby?

no when I click on the ‘or Select files’ then the dialog comes up for me to enter the file name and select the file to upload.

Can you share whole HTML code with your label highlighted?

I attached the screen shot of the html.

let me know if this enough.

The element you are looking for is right under the label. Try to use //input[@id="file-picker"] as your xpath for file upload.

so from the example:

WebUI.uploadFile(findTestObject(‘//input[@id=“file-picker”]’), ‘/users/abc/test-photo.png’)
after getting to file upload modal.

the path is for mac os or unix.

is this correct?
waiki.

You must create TestObject in Object Repository first to use it in findTestObject method.
Create an object with xpath above and pass it to the method.

I try to use the following from the attachment:

code or script:


the test object definition:

what am I doing wrong?
please provide exact code to do this.

thanks
Waiki

Use this value for xpath property: //input[@id=“file-picker”]

And delete all other properties.

did not work. got this message.
2019-07-16 10:52:23.343 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to upload file ‘///users/waikisin/repos/test attachment.png’ to object ‘Object Repository/RubiconPCPHome/label_or Select files’ (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to upload file ‘///users/waikisin/repos/test attachment.png’ to object ‘Object Repository/RubiconPCPHome/label_or Select files’

I attached the setup for the test object below:

what do you think?

thanks
Waiki

Still invalid XPath. Read my post carefully.

not work. i think I use the exact property value: //input[@id=“file-picker”]

please help.

Can you share full exception?

SLF4J: The requested version 1.7.16 by your slf4j binding is not compatible with [1.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
2019-07-17 17:01:09.385 INFO c.k.katalon.core.main.TestCaseExecutor - --------------------
2019-07-17 17:01:09.390 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/Econsult Actions/submitNassignNresponseNCloseConsult
2019-07-17 17:01:10.032 INFO c.k.k.core.webui.driver.DriverFactory - Starting ‘Chrome’ driver
Jul 17, 2019 5:01:10 PM org.openqa.selenium.remote.DesiredCapabilities chrome
INFO: Using new ChromeOptions() is preferred to DesiredCapabilities.chrome()
2019-07-17 17:01:10.128 INFO c.k.k.core.webui.driver.DriverFactory - Action delay is set to 0 seconds
Starting ChromeDriver 75.0.3770.140 (2d9f97485c7b07dc18a74666574f19176731995c-refs/branch-heads/3770@{#1155}) on port 23218
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
Jul 17, 2019 5:01:13 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
2019-07-17 17:01:14.845 INFO c.k.k.core.webui.driver.DriverFactory - sessionId = 8f8bcfb3090a1270a1f22b25287c2094
2019-07-17 17:01:15.200 INFO c.k.k.core.webui.driver.DriverFactory - browser = Chrome 75.0.3770.142
2019-07-17 17:01:15.201 INFO c.k.k.core.webui.driver.DriverFactory - platform = Mac OS X
2019-07-17 17:01:15.202 INFO c.k.k.core.webui.driver.DriverFactory - seleniumVersion = 3.141.59
2019-07-17 17:01:15.203 INFO c.k.k.core.webui.driver.DriverFactory - proxyInformation = ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}
2019-07-17 17:01:18.401 DEBUG t.submitNassignNresponseNCloseConsult - 1: openBrowser("")
2019-07-17 17:01:18.406 WARN c.k.k.core.webui.driver.DriverFactory - A browser is already opened. Closing browser and opening a new one
2019-07-17 17:01:20.481 INFO c.k.k.core.webui.driver.DriverFactory - Starting ‘Chrome’ driver
Jul 17, 2019 5:01:20 PM org.openqa.selenium.remote.DesiredCapabilities chrome
INFO: Using new ChromeOptions() is preferred to DesiredCapabilities.chrome()
Starting ChromeDriver 75.0.3770.140 (2d9f97485c7b07dc18a74666574f19176731995c-refs/branch-heads/3770@{#1155}) on port 27523
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
Jul 17, 2019 5:01:23 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
2019-07-17 17:01:24.063 INFO c.k.k.core.webui.driver.DriverFactory - sessionId = 4710473ac77aa1a227ff5bca08b48c39
2019-07-17 17:01:24.076 INFO c.k.k.core.webui.driver.DriverFactory - browser = Chrome 75.0.3770.142
2019-07-17 17:01:24.077 INFO c.k.k.core.webui.driver.DriverFactory - platform = Mac OS X
2019-07-17 17:01:24.078 INFO c.k.k.core.webui.driver.DriverFactory - seleniumVersion = 3.141.59
2019-07-17 17:01:24.078 INFO c.k.k.core.webui.driver.DriverFactory - proxyInformation = ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}
2019-07-17 17:01:24.079 DEBUG t.submitNassignNresponseNCloseConsult - 2: navigateToUrl(URL)
2019-07-17 17:01:24.469 DEBUG t.submitNassignNresponseNCloseConsult - 3: waitForElementPresent(findTestObject(“Object Repository/Page_RubiconMD Expert insights Better care/input_Expert insights Better care_userlogin”), 3)
2019-07-17 17:01:24.632 DEBUG t.submitNassignNresponseNCloseConsult - 4: setText(findTestObject(“Object Repository/Page_RubiconMD Expert insights Better care/input_Expert insights Better care_userlogin”), username)
2019-07-17 17:01:24.860 DEBUG t.submitNassignNresponseNCloseConsult - 5: waitForElementPresent(findTestObject(“Page_RubiconMD Expert insights Better care/input_Expert insights Better care_userpassword”), 3)
2019-07-17 17:01:24.885 DEBUG t.submitNassignNresponseNCloseConsult - 6: setEncryptedText(findTestObject(“Object Repository/Page_RubiconMD Expert insights Better care/input_Expert insights Better care_userpassword”), “Zt2Zut2qZG6V4jLR9Iy09gQTcbYRIqtz”)
2019-07-17 17:01:25.095 DEBUG t.submitNassignNresponseNCloseConsult - 7: waitForElementClickable(findTestObject(“Object Repository/Page_RubiconMD Expert insights Better care/input_Forgot password_commit”), 3)
2019-07-17 17:01:25.186 DEBUG t.submitNassignNresponseNCloseConsult - 8: click(findTestObject(“Object Repository/Page_RubiconMD Expert insights Better care/input_Forgot password_commit”))
2019-07-17 17:01:27.043 DEBUG t.submitNassignNresponseNCloseConsult - 9: waitForElementVisible(findTestObject(“RubiconPCPHome/Page_RubiconMD/span_Hi Waiki”), 3)
2019-07-17 17:01:27.116 DEBUG t.submitNassignNresponseNCloseConsult - 10: verifyElementText(findTestObject(“RubiconPCPHome/Page_RubiconMD/span_Admin view”), “Admin view”)
2019-07-17 17:01:27.161 DEBUG t.submitNassignNresponseNCloseConsult - 11: verifyElementText(findTestObject(“RubiconPCPHome/Page_RubiconMD/span_Closed”), “Closed”)
2019-07-17 17:01:27.199 DEBUG t.submitNassignNresponseNCloseConsult - 12: verifyElementText(findTestObject(“RubiconPCPHome/Page_RubiconMD/span_Drafts”), “Drafts”)
2019-07-17 17:01:27.241 DEBUG t.submitNassignNresponseNCloseConsult - 13: verifyElementText(findTestObject(“RubiconPCPHome/Page_RubiconMD/span_eConsults”), “eConsults”)
2019-07-17 17:01:27.277 DEBUG t.submitNassignNresponseNCloseConsult - 14: verifyElementClickable(findTestObject(“RubiconPCPHome/Page_RubiconMD/button_Create new”))
2019-07-17 17:01:27.315 DEBUG t.submitNassignNresponseNCloseConsult - 15: click(findTestObject(“RubiconPCPHome/Page_RubiconMD/button_Create new”))
2019-07-17 17:01:27.477 DEBUG t.submitNassignNresponseNCloseConsult - 16: verifyElementPresent(findTestObject(“RubiconPCPHome/Page_RubiconMD/input_Name_border-right padding-vert-1-and-a-half ng-untouched ng-pristine ng-valid”), 2)
2019-07-17 17:01:27.520 DEBUG t.submitNassignNresponseNCloseConsult - 17: setText(findTestObject(“RubiconPCPHome/Page_RubiconMD/input_Name_border-right padding-vert-1-and-a-half ng-untouched ng-pristine ng-valid”), “lastName”)
2019-07-17 17:01:27.749 DEBUG t.submitNassignNresponseNCloseConsult - 18: setText(findTestObject(“RubiconPCPHome/Page_RubiconMD/input_Name_full-border-onfocus-right padding-vert-1-and-a-half ng-untouched ng-pristine ng-valid”), “testName”)
2019-07-17 17:01:27.878 DEBUG t.submitNassignNresponseNCloseConsult - 19: setText(findTestObject(“RubiconPCPHome/Page_RubiconMD/input_MRN_ng-untouched ng-pristine ng-valid”), “1234567”)
2019-07-17 17:01:28.007 DEBUG t.submitNassignNresponseNCloseConsult - 20: setText(findTestObject(“RubiconPCPHome/Page_RubiconMD/input_Date of birth_padding-horiz-1”), “12/18/1988”)
2019-07-17 17:01:28.138 DEBUG t.submitNassignNresponseNCloseConsult - 21: click(findTestObject(“RubiconPCPHome/Page_RubiconMD/button_Male”))
2019-07-17 17:01:28.222 DEBUG t.submitNassignNresponseNCloseConsult - 22: click(findTestObject(“RubiconPCPHome/Page_RubiconMD/span_See all specialties”))
2019-07-17 17:01:28.607 DEBUG t.submitNassignNresponseNCloseConsult - 23: click(findTestObject(“RubiconPCPHome/Page_RubiconMD/span_Other”))
2019-07-17 17:01:28.975 DEBUG t.submitNassignNresponseNCloseConsult - 24: click(findTestObject(“RubiconPCPHome/Page_RubiconMD/button_Save and continue”))
2019-07-17 17:01:29.071 DEBUG t.submitNassignNresponseNCloseConsult - 25: verifyElementVisible(findTestObject(“RubiconPCPHome/Page_RubiconMD/div_How can a specialist help”))
2019-07-17 17:01:30.313 DEBUG t.submitNassignNresponseNCloseConsult - 26: verifyElementVisible(findTestObject(“RubiconPCPHome/Page_RubiconMD/div_Tell our specialist what they should know Remember do not identify your patient (1)”))
2019-07-17 17:01:30.446 DEBUG t.submitNassignNresponseNCloseConsult - 27: editConsultUrl = getUrl()
2019-07-17 17:01:30.469 DEBUG t.submitNassignNresponseNCloseConsult - 28: waitForElementClickable(findTestObject(“RubiconPCPHome/Page_RubiconMD/button_Save”), 3)
2019-07-17 17:01:30.497 DEBUG t.submitNassignNresponseNCloseConsult - 29: click(findTestObject(“RubiconPCPHome/Page_RubiconMD/button_Save”))
2019-07-17 17:01:30.871 DEBUG t.submitNassignNresponseNCloseConsult - 30: delay(5)
2019-07-17 17:01:35.901 DEBUG t.submitNassignNresponseNCloseConsult - 31: navigateToUrl(editConsultUrl)
2019-07-17 17:01:36.273 DEBUG t.submitNassignNresponseNCloseConsult - 32: delay(2)
2019-07-17 17:01:38.278 DEBUG t.submitNassignNresponseNCloseConsult - 33: verifyElementPresent(findTestObject(“RubiconPCPHome/Page_RubiconMD/textarea_My assessmentplan_height-short ng-untouched ng-pristine ng-valid”), 1)
2019-07-17 17:01:38.304 DEBUG t.submitNassignNresponseNCloseConsult - 34: setText(findTestObject(“RubiconPCPHome/Page_RubiconMD/textarea_My assessmentplan_height-short ng-untouched ng-pristine ng-valid”), “text from automation test script”)
2019-07-17 17:01:38.539 DEBUG t.submitNassignNresponseNCloseConsult - 35: waitForElementClickable(findTestObject(“RubiconPCPHome/Page_RubiconMD/button_Save”), 5)
2019-07-17 17:01:38.573 DEBUG t.submitNassignNresponseNCloseConsult - 36: click(findTestObject(“RubiconPCPHome/Page_RubiconMD/button_Save”))
2019-07-17 17:01:38.661 DEBUG t.submitNassignNresponseNCloseConsult - 37: delay(5)
2019-07-17 17:01:43.666 DEBUG t.submitNassignNresponseNCloseConsult - 38: navigateToUrl(editConsultUrl)
2019-07-17 17:01:43.829 DEBUG t.submitNassignNresponseNCloseConsult - 39: delay(2)
2019-07-17 17:01:45.836 DEBUG t.submitNassignNresponseNCloseConsult - 40: verifyElementPresent(findTestObject(“RubiconPCPHome/Page_RubiconMD/textarea_Question for specialist_height-short ng-untouched ng-pristine ng-valid”), 1)
2019-07-17 17:01:45.877 DEBUG t.submitNassignNresponseNCloseConsult - 41: setText(findTestObject(“RubiconPCPHome/Page_RubiconMD/textarea_Question for specialist_height-short ng-untouched ng-pristine ng-valid”), “specialist text from automation test script”)
2019-07-17 17:01:46.145 DEBUG t.submitNassignNresponseNCloseConsult - 42: delay(2)
2019-07-17 17:01:48.149 DEBUG t.submitNassignNresponseNCloseConsult - 43: verifyElementPresent(findTestObject(“RubiconPCPHome/Page_RubiconMD/textarea_This may include current presentation history medications allergies and examlabtest results_main-textarea ng-untouched ng-pristine ng-valid”), 1)
2019-07-17 17:01:48.167 DEBUG t.submitNassignNresponseNCloseConsult - 44: setText(findTestObject(“RubiconPCPHome/Page_RubiconMD/textarea_This may include current presentation history medications allergies and examlabtest results_main-textarea ng-untouched ng-pristine ng-valid”), “presentation text from automation test script”)
2019-07-17 17:01:48.429 DEBUG t.submitNassignNresponseNCloseConsult - 45: delay(5)
2019-07-17 17:01:53.432 DEBUG t.submitNassignNresponseNCloseConsult - 46: comment(“TO DO: add upload an attachment here”)
2019-07-17 17:01:53.437 INFO c.k.k.c.keyword.builtin.CommentKeyword - TO DO: add upload an attachment here
2019-07-17 17:01:53.438 DEBUG t.submitNassignNresponseNCloseConsult - 47: click(findTestObject(“RubiconPCPHome/span_Add attachment”))
2019-07-17 17:01:53.586 DEBUG t.submitNassignNresponseNCloseConsult - 48: delay(3)
2019-07-17 17:01:56.592 DEBUG t.submitNassignNresponseNCloseConsult - 49: uploadFile(findTestObject(“RubiconPCPHome/label_or Select files”), “///users/waikisin/repos/test attachment.png”)
2019-07-17 17:02:27.610 INFO c.k.k.c.webui.common.WebUiCommonHelper - Unable to find the element located by ‘By.xpath: //input[@id=“file-picker”]’. Please recheck the objects properties to make sure the desired element is located.
2019-07-17 17:02:28.135 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to upload file ‘///users/waikisin/repos/test attachment.png’ to object ‘Object Repository/RubiconPCPHome/label_or Select files’ (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to upload file ‘///users/waikisin/repos/test attachment.png’ to object ‘Object Repository/RubiconPCPHome/label_or Select files’
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)
at com.kms.katalon.core.webui.keyword.builtin.UploadFileKeyword.uploadFile(UploadFileKeyword.groovy:87)
at com.kms.katalon.core.webui.keyword.builtin.UploadFileKeyword.execute(UploadFileKeyword.groovy:68)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.uploadFile(WebUiBuiltInKeywords.groovy:2945)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$uploadFile$13.call(Unknown Source)
at submitNassignNresponseNCloseConsult.run(submitNassignNresponseNCloseConsult:127)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1563397266226.run(TempTestCase1563397266226.groovy:21)
Caused by: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/RubiconPCPHome/label_or Select files’ located by ‘By.xpath: //input[@id=“file-picker”]’ not found
at com.kms.katalon.core.webui.common.WebUiCommonHelper.findWebElement(WebUiCommonHelper.java:1097)
at com.kms.katalon.core.webui.keyword.internal.WebUIAbstractKeyword.findWebElement(WebUIAbstractKeyword.groovy:27)
at com.kms.katalon.core.webui.keyword.internal.WebUIAbstractKeyword.findWebElement(WebUIAbstractKeyword.groovy:26)
at com.kms.katalon.core.webui.keyword.builtin.UploadFileKeyword$_uploadFile_closure1.doCall(UploadFileKeyword.groovy:79)
at com.kms.katalon.core.webui.keyword.builtin.UploadFileKeyword$_uploadFile_closure1.call(UploadFileKeyword.groovy)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:20)
at com.kms.katalon.core.webui.keyword.builtin.UploadFileKeyword.uploadFile(UploadFileKeyword.groovy:87)
at com.kms.katalon.core.webui.keyword.builtin.UploadFileKeyword.execute(UploadFileKeyword.groovy:68)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.uploadFile(WebUiBuiltInKeywords.groovy:2945)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$uploadFile$13.call(Unknown Source)
at Script1560354486831.run(Script1560354486831.groovy:127)
… 11 more
)
2019-07-17 17:02:28.138 ERROR c.k.katalon.core.main.TestCaseExecutor - :x: Test Cases/Econsult Actions/submitNassignNresponseNCloseConsult FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to upload file ‘///users/waikisin/repos/test attachment.png’ to object ‘Object Repository/RubiconPCPHome/label_or Select files’
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)
at com.kms.katalon.core.webui.keyword.builtin.UploadFileKeyword.uploadFile(UploadFileKeyword.groovy:87)
at com.kms.katalon.core.webui.keyword.builtin.UploadFileKeyword.execute(UploadFileKeyword.groovy:68)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.uploadFile(WebUiBuiltInKeywords.groovy:2945)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$uploadFile$13.call(Unknown Source)
at submitNassignNresponseNCloseConsult.run(submitNassignNresponseNCloseConsult:127)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1563397266226.run(TempTestCase1563397266226.groovy:21)
Caused by: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/RubiconPCPHome/label_or Select files’ located by ‘By.xpath: //input[@id=“file-picker”]’ not found
at com.kms.katalon.core.webui.common.WebUiCommonHelper.findWebElement(WebUiCommonHelper.java:1097)
at com.kms.katalon.core.webui.keyword.internal.WebUIAbstractKeyword.findWebElement(WebUIAbstractKeyword.groovy:27)
at com.kms.katalon.core.webui.keyword.internal.WebUIAbstractKeyword.findWebElement(WebUIAbstractKeyword.groovy:26)
at com.kms.katalon.core.webui.keyword.builtin.UploadFileKeyword$_uploadFile_closure1.doCall(UploadFileKeyword.groovy:79)
at com.kms.katalon.core.webui.keyword.builtin.UploadFileKeyword$_uploadFile_closure1.call(UploadFileKeyword.groovy)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:20)
… 17 more

2019-07-17 17:02:30.257 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/Econsult Actions/submitNassignNresponseNCloseConsult

hope this helps