I'm having problems verifying elements in a page made up of framesets and frames.
I'm using the code:
selenium.selectFrame("relative=up");
selenium.selectFrame("topFrame");
But it fails with the error "Element topFrame not found". I get similar errors when trying to navigate to any frames.
I've also tried specifying the DOM path, and using indexes, but nothing seems to work.
The HTML looks like this:
<frameset framespacing="0" border="0" frameborder="NO" rows="80,*">
<frame scrolling="NO" frameborder="NO" src="header.html" noresize="" name="topFrame">
<frameset framespacing="0" border="0" frameborder="NO" cols="210,*">
<frame scrolling="NO" frameborder="NO" src="menu.html" name="leftFrame">
<frame scrolling="YES" bordercolor="#78B0D5" frameborder="YES" src="content.html" name="mainFrame">
</frame>
</frameset>
</frameset>
Any suggestions?