Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

View previous topic View next topic Go down

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

Post by Guest 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?

Guest
Guest


Back to top Go down

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

Post by ccox 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

ccox
Master
Master

Posts : 205
Join date : 2012-01-06
Age : 31
Location : Denver, CO

Back to top Go down

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

Post by Guest 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


Guest
Guest


Back to top Go down

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

Post by ccox on Thu Apr 18, 2013 1:31 am

What do you mean by "TAB"?

ccox
Master
Master

Posts : 205
Join date : 2012-01-06
Age : 31
Location : Denver, CO

Back to top Go down

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

Post by Guest 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


Back to top Go down

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

Post by Guest 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"*>

Guest
Guest


Back to top Go down

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

Post by Sponsored content Today at 5:03 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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