Katalon Studio v5.8 - It's time for the all-new API testing experience
sachin s petkar
Katalon Apprentice
02/04/2018

Test Cases FAILED because (of) Unable to click on object

Hi,
I am trying to click on particular icon on the webpage but I am getting an error like "[FAILED] - Test Cases/LoginLogOut FAILED because (of) Unable to click on object 'Object Repository/Page_Bids And Tenders 3.0/a_Logout' (Root cause: org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with
Command duration or timeout: 0 milliseconds)" 
I have added action Wait for Element Visible but, still getting the same error. Also, I have tried with Xpath. For the details, please see attached screenshot.
Can somebody please help me with this issue?

Upvote
Quote

Comments

  • sachin s petkar
    Katalon Apprentice
    02/04/2018
    Sorry I forgot to mention that I am executing this with Katlon 5.3.0 and tried with different browsers like IE, Chrome and Firefox with latest version.
    Upvote
    Quote
  • dk
    Katalon Apprentice
    02/19/2018

    Does this only happen in your headless browser?  By default the browser size (viewport) is not very large, so even though it can be found, it's not really "visible" nor "clickable".   Try adding Set View Port Size to a larger size.  

    Upvote
    Quote
  • Kacper Durka
    Katalon Apprentice
    05/16/2018
    Before clicks use "Scroll To Element" on the same element you want to click
    Upvote
    Quote
Sign In or Register to comment.