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
[u]html -[/u]
button tabindex=0 type=button onkeypress=return
Form_buttonKeyPress(this,event); class=button onclick=Form_goto(this,
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
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
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
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
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/)
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
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