My workaround was to go ahead and do the $ie.wait, then I threw in some thing like this:
xUselessVariable = $ie.contains_text('it_would_never_contain_this_phrase')
xUselessVariable = $ie.contains_text('it_would_never_contain_this_phrase_either')
and just ignore the return values... and do your actions/assertions after this.
I've did it twice because once helped, but didn't solve it everytime.
I'm not running into those issues anymore.
I know it's a hack, but it sure worked for me. Hope it helps someone else out there.
On 7/12/06, Bret Pettichord <[EMAIL PROTECTED]> wrote:
Sounds like a synchronization problem. There was a known synchronization problem with IE.attach in 1.4.1. That can be avoided if you call wait after attach. Thus:$ie=IE.attach(:title,/^Compli:/)
$ie.wait # add this line
$ie.set_fast_speed()
navigateToInbox($ie)
But depending on what is in navigateToInbox, i can't tell if that is the problem here. Can you show the code in navigateToInbox?
And if this change fixes your problem, let us know. I'm wondering if we shouldn't release this fix as 1.4.2.
Bret
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
--
"I am the most humble person in the world!"
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
