Thanks, Shao. It didn't work either.

 

However, I was just informed by Jonathan that:

 

"That is a bug that Bret identified in Watir. Frames are not found

using regexps like other objects. I hope that will be fixed in the next release."

 

I am wondering if there is a way I can do this:

 

 1) somehow save the treeframe value from this command (in this case

 treeframe1120266500902), so I can use it later in the click command:

 

ie.frame(:name, "portfolioTreeContent").show_frames

there are 2 frames

frame  index: 0 name: sidebar_header

frame  index: 1 name: treeframe1120266500902

 

ie.frame(:name, "portfolioTreeContent").frame(:name,"treeframe1120266500902").image(:src, /img-plus-cont-0.gif/).click

 

 

 

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to