Share
Go down
Guest
Guest

[error] Element css=div.gwt-PushButton.gwt-PushButton-up-hovering not found

on Mon Apr 15, 2013 11:59 pm
I came across this error in selenium, and could not figure out how to solve it. Wanted to implement Selenium to automate testing at the company where I work, but I came across this obstacle. Has anyone encountered this same problem, and know what steps to solve it?
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 32
Location : Denver, CO

Re: [error] Element css=div.gwt-PushButton.gwt-PushButton-up-hovering not found

on Tue Apr 16, 2013 2:08 am
Yes. Selenium could not find the element you are trying to click on. Open the page with the element and selenium ide where this command is. On this command, click the Find button. If it highlights the element on the page, it should be able to recognize it on the page. You may just need a pause added in there because the script is moving too fast.

Also try slowing down the script execution at the top and see if it can find it then. If not, we may need some more info to help you resolve this issue as the information you have given is minimal
Guest
Guest

Re: [error] Element css=div.gwt-PushButton.gwt-PushButton-up-hovering not found

on Tue Apr 16, 2013 6:31 pm
Selenium does not seem to recognize the Push Button in GWT. I tried to make the process more slowly, and also tried using the TAB for clicks, but not all clicks on this page are possible with the TAB.
Using TAB, get past the error transcript above, and the following error is found: [error] Element / / div / div / div / table / tbody / tr [2] / td not found

ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 32
Location : Denver, CO

Re: [error] Element css=div.gwt-PushButton.gwt-PushButton-up-hovering not found

on Thu Apr 18, 2013 1:31 am
What do you mean by "TAB"?
Guest
Guest

Re: [error] Element css=div.gwt-PushButton.gwt-PushButton-up-hovering not found

on Thu Apr 18, 2013 9:10 pm
Instead of using the mouse click, I use TAB to select the button, and then give a ENTER.
Guest
Guest

Re: [error] Element css=div.gwt-PushButton.gwt-PushButton-up-hovering not found

on Wed Apr 24, 2013 9:05 pm
This is the button code that selenium is not recognizing:
<*div class="gwt-PushButton gwt-PushButton-up" tabindex="0" role="button" aria-pressed="false"*>
Sponsored content

Re: [error] Element css=div.gwt-PushButton.gwt-PushButton-up-hovering not found

Back to top
Permissions in this forum:
You cannot reply to topics in this forum