[Wtr-general] click() in infinite loop while working with orkut
Manish Sapariya
manishs at gs-lab.com
Thu Jan 4 00:58:57 EST 2007
Hi,
Please find attached a script to extract scrap information from orkut
user. What I am seeing is that when I do click on submit button, the
click call never returns. The tracing of the calls reveals that click
function call is spinning because @ie.busy status never becoming false.
I think the problem is in the OLE interface of ie which goes havoc when
dealing with orkut. I would appreciate any pointers about how can I go
step further in debugging.
I have a workaround now by using timeout but this is very naive solution.
I would also appreciate if I can have some patch in watir code so that
I need not have timeout around every click call. (The attached script has
work around code commented.)
If needed I can send out my analysis using tracing.
Environment: Watir 1.5
Thanks and Regards,
Manish
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: OrkutScrapt.rb
Url: http://rubyforge.org/pipermail/wtr-general/attachments/20070104/fca3fda9/attachment.ksh
More information about the Wtr-general
mailing list