- GuestGuest
[error] Element css=div.gwt-PushButton.gwt-PushButton-up-hovering not found
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?
- ccoxMaster
- Posts : 205
Join date : 2012-01-06
Age : 39
Location : Denver, CO
Re: [error] Element css=div.gwt-PushButton.gwt-PushButton-up-hovering not found
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
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
- GuestGuest
Re: [error] Element css=div.gwt-PushButton.gwt-PushButton-up-hovering not found
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
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
- ccoxMaster
- Posts : 205
Join date : 2012-01-06
Age : 39
Location : Denver, CO
Re: [error] Element css=div.gwt-PushButton.gwt-PushButton-up-hovering not found
Thu Apr 18, 2013 1:31 am
What do you mean by "TAB"?
- GuestGuest
Re: [error] Element css=div.gwt-PushButton.gwt-PushButton-up-hovering not found
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.
- GuestGuest
Re: [error] Element css=div.gwt-PushButton.gwt-PushButton-up-hovering not found
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"*>
<*div class="gwt-PushButton gwt-PushButton-up" tabindex="0" role="button" aria-pressed="false"*>
Permissions in this forum:
You cannot reply to topics in this forum