At 06:44 PM 7/7/2005, Alexander, Kim (Kim) wrote:
However when the page is contained in the frame the ie.goto just times
out. Code I m using for frames is below.
$ie.frame(:index,1).goto("javascript:document.Form1.__ucMasterEntityMaintHeader_tabDefaultTabs_State__.value='2';__doPostBack('ucMasterEntityMaintHeader$tabDefaultTabs','2')")
It's a bug that there is even a goto method for frames.
I would try referencing the frame inside your javascript. Something like this:
$ie.goto("javascript:Frame1.document.Form1.__ucMasterEntityMaintHeader_tabDefaultTabs_State__.value='2';__doPostBack('ucMasterEntityMaintHeader$tabDefaultTabs','2')")
_____________________
Bret Pettichord
www.pettichord.com
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general