Željko
I didn't include that in the code snippet because my attempts to
simply open the table isn't work @browser.div(:id, "regionTR").fire_event
"onmouseover" However for that section of the conversation
*This is partial of code snippet for section of the code nested inside the
Javascript Table*
<div id="regionMenu" class="filterbox" align="left" style="display:
table-row; width: 206px; height: 380px; left: 1091.25px; top: 452px;"
showing="1">
<div id="regionMenuWithBorder">
<div id="regionTreeClear" style="font-family: sans-serif;font-size: 10px;">
<div id="regionTree">
<div id="treeRegion" class="treewidget">
<div id="twtreeRegion5146" class="lines_multiline" style="clear: both;"
level="0" itemid="5146" array_id="0">
<div class="i lines_ur_md"></div>
<div class="c0"></div>
<a id="tdhandle_treeRegion4466" class="filtertext"
href="javascript:treeRegion.checkClick('5146')">United States</a>
<div id="twtreeRegion4466" class="depthcell_line" style="clear: both;"
parent_id="5146" itemid="4466" array_id="depthcell_line">
On Tuesday, August 28, 2012 12:45:59 PM UTC-5, Željko Filipin wrote:
>
> On Tue, Aug 28, 2012 at 7:42 PM, Clayton Havens
> <[email protected]<javascript:>>
> wrote:
> > it "Test to Try and change Region" do
> > @browser.div(:id, "regionTR").fire_event "onmouseover"
> >
> @browser.element_by_xpath("//div[@id='twtreeRegion4466']/div[2]").click
> > end
> >
> > Error received: unable to locate object
>
> I could not find element with id twtreeRegion4466 in the html you have
> provided.
>
> Željko
> --
> filipin.eu
>
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]