Unable to Upload cover image || Katalon is not finding the element

Hello all!
I’m automating the post creation part of my website http://bench.stumagz.com/
In this process i’m unable to upolad cover picture to the article.It is showing the following error.
Here are the demo login details:
mail id : chapparapuramesh@gmail.com
pw: 9490820658

please look into that.
Just login the create new story then try to upload cover pic.**

Getting This error message:**

Test Cases/Creating Story FAILED because (of) Unable to upload file ‘D:\\logos\\0001.jpg’ to object ‘Object Repository/Cover Pic/upload’ (Root cause: org.openqa.selenium.WebDriverException: unknown error: cannot focus element

(Session info: chrome=67.0.3396.87)

(Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 0 milliseconds

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘DESKTOP-Q1J65Q0’, ip: ‘’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_102’

Driver info: com.kms.katalon.selenium.driver.CChromeDriver

Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.35.528161 (5b82f2d2aae0ca…, userDataDir: C:\Users\stuMagz\AppData\Lo…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 67.0.3396.87, webStorageEnabled: true}

Session ID: f05c12f9e0cc47a09dcd094557fa6fdf)

Test Cases/Creating Story.run:81

you need to switch to upload window using switchToWindowTitle command
here you can read in greater detail :

1 Like

Thanks mate!