A few annoying issues for me (not sure if they are official bugs) :
- *selenium.getAllLinks()* only returns the ID's of the <A>
elements...which for me is *completely useless* since most don't have an
ID attribute and I don't control the content or page structure. *Could
it return a more useful locator string if there is no ID?* (see
http://groups.google.com/group/selenium-users/browse_thread/thread/bd...
)
- *selenium.mouseOver()* doesn't work for me. From a user perspective,
the menu I'm trying to target only expands when the mouse pointer hovers
over it. When I try to use selenium.mouseOver(), nothing happens. The
suggested workarounds from the thread below are currently outside the scope
of my understanding and will part of some needed additional learning in the
near future, but it would be nice if the default selenium.mouseOver() method
worked. (see
http://groups.google.com/group/webdriver/browse_thread/thread/41e1e23...
)
- HTMLUnit and Chrome drivers don't work for me (can't get them
instantiated). I've attached my SeleniumHelper.java class that I use with
TestNG @Factory to instantiate my test classes. I've tried to modularize a
helper method so I can just pass in the type of browser instance I want to
use and it will instantiate the correct driver. I had problems with IE
previously, but since 2.0b1 IE works better (though I still haven't used it
extensively. Some eyes on what I'm doing would be nice in case a fix is
warranted.
- In a related vein:
- Detailed and consolidated *documentation* of all supported
WebDriver profile and/or DesiredCapabilities options when
instantiating/manipulating each driver. I haven't found the
definitive
resource, only sporadic blogs or posts to mailing lists and
any "official"
documentation is not nearly detailed enough.
- Documentation on when to skip the "Selenium" (webdriver backed
selenium) object and go under the covers to the driver or
even lower objects
(WebElements, RenderedWebElements, RenderedRemoteWebElements,
CommandProcessors, etc..)
- I'm finding it difficult to navigate online resources and search
results since they seem to come in a mix of Selenium 1.0,
Selenium 2.0 and
Legacy WebDriver results.
I'm running 2.0b1 on Windows 7 x64. I'm building and testing using TestNG
in NetBeans 6.9.1. Depending on how you'd like to handle these, I'd love to
get some eyes on my code to help me understand if these are issues so they
could get fixed for 2.0b2 as appropriate.
Thanks!!
-Jeff
On Wed, Feb 2, 2011 at 6:15 AM, Simon Stewart <
simon.m.stew...@gmail.com>wrote:
- Show quoted text -
--
Jeff Vincent
predato...@gmail.com See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent SeleniumHelper.java
7K Download