Selenium fails to find component after dom update (reRender)
Posted
by Bozho
on Stack Overflow
See other posts from Stack Overflow
or by Bozho
Published on 2009-12-21T16:50:17Z
Indexed on
2010/04/26
7:13 UTC
Read the original article
Hit count: 289
I'm testing a richfaces application with selenium. It works fine, unless I use reRender
. (for those unfamiliar with richfaces - whenever an ajax request finished, parts of the DOM are updated/chagned/removed).
So, after a reRender
selenium (the IDE at least) fails to locate the elements which were within the reRendered area. Both FireBug and WebDeveloper locate the elements, and on "view source" the elements are there.
So, is there a way to tell selenium to update its DOM "knowledge" with the latest changes?
Firefox 3.5.6, latest version of Selenium IDE.
© Stack Overflow or respective owner