Tx for the info.

Just so you know, this doesn't do what you think:
  ie.frame("main").frame("sidebar").wait("analysisSidebarTabContent")
It's actually the same as
  ie.frame("main").frame("sidebar").wait(true)

The fix regarding wait and attach is in 1.4., so this may be a new problem.

Bret

At 12:46 PM 8/23/2005, Tuyet Cong-Ton-Nu wrote:

OK, thanks, Bret for the suggestion. Per your request, here are some additional lines of code that preceded the while statement.

There is the attach statement which may be causing the problem since you had opened up a bug on that a couple of days ago?





ie.frame(:name, "portfolioTreeContent").frame(:name, treeframe).link(:text, /MMIM/).click

            sleep 3

ie = Watir::IE.attach(:url, "https://test.com/araneae/app";) #Reconnect back to main frame


ie.frame("main").frame("sidebar").wait("analysisSidebarTabContent")

            sleep 3

while !ie.frame("main").frame("sidebar").frame("analysisSidebarTabContent").image(:src, /icon_report_positions.gif/).exists?

                        sleep 0.1

            end


ie.frame("main").frame("sidebar").frame("analysisSidebarTabContent").image(:src, /icon_report_positions.gif/).click
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_____________________
 Bret Pettichord
 www.pettichord.com

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

Reply via email to