I'm trying to click a button on top of the page.I'm using CSS selector and it works perfectly fine when I run it in my local eclipse.But when I try to run it on Jenkins server on my local machine it fails, saying element not clickable.
When I saw the screenshot of failed test on Jenkins I see that the header is overlapping the button that I want to click.
I have tried almost everything using XPath,CSS,move to element,move mouse.
But still can't fix it, Someone please help.
I'm tring to click on add buttoun
org.openqa.selenium.WebDriverException: Element is not clickable at point (775.25, 10.166671752929688). Other element would receive the click: <div class="globalHeader-UtilTop"></div>
Command duration or timeout: 69 milliseconds
Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
System info: host', ip: '', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_80'
<div class="Componet-intels**strong text**-Container">
<span class="Componet-intels-Item"> Item # </span>
<span class="Componet-intels-Lable-Quantity"> Qty: </span>
**<input class="Componet-intelsButtonIcon" type="button" value="Add">**
Element is not clickable at point (775.25, 10.166671752929688). Other element would receive the click: <div class="globalHeader-UtilTop"></div>
It clearly says, the element we want to click is hidden by some other element div in this case, which would receive the click.
I think it is problem with UI and header shouldn't hide the element, but you can try few things : 1. Maximize the window of browser from webdriver to see if header still hides the element