Re: [Wtr-general] Alert box - hangs

2007-01-11 Thread usha
my previous post has the html and the script I have. I am not seeing any errors. Script just hangs till I manually close the Alert. Appreciate any help. Thx - Posted via Jive Forums

Re: [Wtr-general] Alert box - hangs

2007-01-10 Thread usha
[u]html -[/u] button tabindex=0 type=button onkeypress=return Form_buttonKeyPress(this,event); class=button onclick=Form_goto(this,

Re: [Wtr-general] Alert box - hangs

2007-01-10 Thread usha
I'm using IE 6 I registered AutoItX3.dll using regsvr32 Ruby 1.8, Watir 1.5 Alert box title is 'Microsoft Internet Explorer' Thanks - Posted via Jive Forums

[Wtr-general] Alert box - hangs

2007-01-09 Thread usha
Hi, I've been trying to click on the Alert box with no success. Tried both methods suggested in the thread below - no luck. http://forums.openqa.org/thread.jspa?threadID=5802tstart=15 Script hangs till I manually click on the Alert box. The button which triggers the Alert remains yellow in

[Wtr-general] how to verify inside loop of ie.link

2006-11-30 Thread usha
Hi, Started Watir last week. Great open source tool. How can I use if inside a ie.link loop i.e., I am looking for n specific links within the page. like below - which results in error! item_search=blah.com ie.links.each do |l| ans=ie.link(:url,/#{item_search}/).exists? if ans

[Wtr-general] looking for span class

2006-11-30 Thread usha
how can I verify if Blah Links exists and how many of them. table cellpadding=0 cellspacing=0 border=0 class=blahLinksMain trtdspan class=blahLinkTitleBlah Links:/span span class=blahLinkHelpa href=/gp/websearch/detail/what-is-this.html/104-8919835-0455142 target=ABCHelp

Re: [Wtr-general] looking for span class

2006-11-30 Thread usha
Thanks to you my previous issue is resolved. This one I think is different 'cause 'Blah Links' is not a link but text (of span class)displayed on the page. I'm trying to see if this text exists and how many times it occured in the page. tried these seeing false ie.span(:id, /list/)

Re: [Wtr-general] how to verify inside loop of ie.link

2006-11-30 Thread usha
Thank you. It works! - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5543messageID=15428#15428 ___ Wtr-general mailing list Wtr-general@rubyforge.org

Re: [Wtr-general] looking for span class

2006-11-30 Thread usha
absolutely! with minor typos corrected : ctr = 0 search_term = /Blah Links/ ie.spans.each do |s| if s.text =~ search_term ctr = ctr + 1 end end Thank you - Posted via Jive Forums