I am using the following code to click on a popup, and would like to be
able to retrieve the text which is displayed in the popup. Does anyone
have any suggestions as to how to do this?
def startClicker(ie, button , waitTime = 4)
w = WinClicker.new
longName = ie.dir.gsub("/" , "\\" )
shortName = w.getShortFileName(longName)
c = "start ruby #{shortName }\\clickJSDialog.rb #{button } #{
waitTime} "
puts "Starting #{c}"
w.winsystem(c)
w=nil
end
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---