Unable to click on object – object in repository is not recognized

I cannot get Katalon to click on an object that was found during record. So I started with record web, I went through the steps for creating an order. One of the options is to click a plus icon to get fields to fill out the new order. This plus icon will not get clicked when I run the test. It keeps telling me it’s unable to click the object because it’s not found.

 

I tried using object spy again, I’ve tried changing properties on object. I have use the dom map and verify and the object is verified in object spy. I have added a wait for element visible I have tried wait for element present. This step fails, for whatever reason I cannot click this. I have also tried using a picture to click on and that does not work either.

 

 

here are my errors:

07-20-2017 09:32:19 AM - [WARNING] - Object ‘Object Repository/Page_Dashboard/New order/button_create new order’ is not present after 10 second(s)
07-20-2017 09:32:19 AM - [END] - End action : waitForElementPresent

 

 

 

 

07-20-2017 09:32:19 AM - [INFO] - Finding web element with id: ‘Object Repository/Page_Dashboard/New Load/button_create new order’ located by ‘By.xpath: //button[count(. | /html[@class=“”]/body[@class=“nav-sm”]/div[@class=“container body”]/div[@class=“main_container”]/div[@class=“right_col”]/div[1]/div[@class=“row”]/div[@class=“col-md-12 col-sm-12 col-xs-12”]/div[@class=“x_panel tile load_panel”]/div[@class=“x_title”]/button[@class=“pull-right btn btn-default”]) = count(/html[@class=“”]/body[@class=“nav-sm”]/div[@class=“container body”]/div[@class=“main_container”]/div[@class=“right_col”]/div[1]/div[@class=“row”]/div[@class=“col-md-12 col-sm-12 col-xs-12”]/div[@class=“x_panel tile load_panel”]/div[@class=“x_title”]/button[@class=“pull-right btn btn-default”])]’ in ‘30’ second(s)
07-20-2017 09:32:50 AM - [FAILED] - Unable to click on object ‘Object Repository/Page_Dashboard/New Order/button_create new order’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Page_Dashboard/New Order/button_create new order’ located by ‘By.xpath: //button[count(. | /html[@class=“”]/body[@class=“nav-sm”]/div[@class=“container body”]/div[@class=“main_container”]/div[@class=“right_col”]/div[1]/div[@class=“row”]/div[@class=“col-md-12 col-sm-12 col-xs-12”]/div[@class=“x_panel tile load_panel”]/div[@class=“x_title”]/button[@class=“pull-right btn btn-default”]) = count(/html[@class=“”]/body[@class=“nav-sm”]/div[@class=“container body”]/div[@class=“main_container”]/div[@class=“right_col”]/div[1]/div[@class=“row”]/div[@class=“col-md-12 col-sm-12 col-xs-12”]/div[@class=“x_panel tile load_panel”]/div[@class=“x_title”]/button[@class=“pull-right btn btn-default”])]’ not found)
07-20-2017 09:32:50 AM - [END] - End action : click

I was not using image correctly. When I select use image I need to use click image and wait for image. No idea why I can’t have it see the object though. If anyone does, I would like to understand. I do have it working now with click image.

Hello,
i’m having a similar issue… the idea is to run set of queries in google or any other search engines.
so when i run for first two queries it runs ok but when it gets to number 9 it always giving me the error.

Test Cases/real user queries FAILED because (of) Unable to click on object ‘Object Repository/Amazon/Page_. -/button_searchButton’ (Root cause: org.openqa.selenium.WebDriverException: unknown error: Element … is not clickable at point (569, 27). Other element would receive the click:

(Session info: chrome=65.0.3325.181)

(Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 6.1.7601 SP1 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: ‘CB-myusername’, ip: ‘10.0.129.19’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, 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\~1\AppData\L…}, 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: 65.0.3325.181, webStorageEnabled: true}

Session ID: 9fc29ea6a6b7533274ec306bb1e6c47d)

anyone can help me? I’m a first time Katalon user
attached a screenshot as well

Line - 9 Error.jpg

Sorry for delay I find that sometimes the elements on the page cover each other. I would suggest
WebUI.maximizeWindow() at the beginning of your test. I don’t know if this will fix this issue but worth trying.