Re: [Wtr-general] how to handle the file download window !
This method is not available, my code is below require 'watir' # the controller include Watir $ie = IE.new test_site = 'http://war3.replays.net/bbs/htm_data/164/0701/1040238.html' $ie.maximize $ie.image(:index,35).click #click the download button so how to handle the event of "File Download", "Save as"? - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6047&messageID=16980#16980 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] How do I click the "OK" button on a java alert?
ans1 = objAutoit.ControlClick("Microsoft Internet Explorer",'', 'OK') the syntax is wrong, what is the ",",' in ("Microsoft Internet Explorer",'', 'OK') ? - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5802&messageID=16979#16979 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] how to handle the file download window !
I just click the button which can download files, when I click it, the window of file download pop up, how can I control the window to click save or open ,or cancle! - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6047&messageID=16942#16942 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] stange problem!!!
When does the next version release? - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6044&messageID=16941#16941 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] stange problem!!!
when the ie go to the site which is "http://war3.replays.net"; or "http://www.sina.com";, then error displayed. Like that: 1) Error: test_rn(TC_rn_suite): WIN32OLERuntimeError: document OLE error code:80070005 in Access is denied. HRESULT error code:0x80020009 Exception occurred. c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:2592:in `method_m issing' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:2592:in `document ' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:1212:in `check_fo r_http_error' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:219 c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:217:in `upto' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:217 c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:1740:in `call' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:1740:in `run_erro r_checks' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:1739:in `each' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:1739:in `run_erro r_checks' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:1728:in `wait' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:1579:in `goto' E:/Documents and Settings/congying.liu/Desktop/rn.rb:21:in `test_rn' I just want to know why, I think maybe there are some active control, and how to resolve, now I can not continue if i want to test this website! - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6044&messageID=16933#16933 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] The method of "show_links" is wrong !!!
verison : watir-1.5.1.1127.gem c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1127/./watir.rb:1813: [BUG] Segmentat ion fault ruby 1.8.5 (2006-08-25) [i386-mswin32] show_links is wrong ,someone can fix ? - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5915&messageID=16545#16545 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] A strange problem of ie.maximize
I have finished my script,but I met a problem : if I put the "$ie.maximize" in the login page, I login successfully, but cannt click the link; if I put the "$ie.maximize" after the login page , the script run normally. I want to why, I think it is a bug for ie.maximize!!! - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5914&messageID=16544#16544 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] how to know the content of a table 's colomn and row
My problem is that the table has sub-table. HTML: ... Payroll Stucture Pay Entity Pay Group Element Group Payroll Calendar Entity Calendar So how can I handle the problem,to click the link that I want ! - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5898&messageID=16515#16515 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Give a solution fo javascript popup
Thanks very much!!! - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5883&messageID=16514#16514 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] how to know the content of a table 's colomn and row
I just wanna know to output the content of a table 's colomn and row. When I test the web, It has many tables without id, I do not make sure which table is which I want. my purpose is to click the link of a table .To output the contents of a table 's colomn and row ,So I can know the link I want to click is in which colomn and row Please help me if you know ,thanks - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5898&messageID=16511#16511 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] Give a solution fo javascript popup
I use ruby185-21 and watir-1.5.1.1127.gem, I want a solution fo js pop the web html is the one in watir \unittests\html ---JavascriptClick.html。 So i hope someone can give me codes of watir to solve js popup,do not use aotoit! thanks - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5883&messageID=16456#16456 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] give a solution fo js popup
I use ruby185-21 and watir-1.5.1.1127.gem, I want a solution fo js pop the web html is the one in watir \unittests\html ---JavascriptClick.html the source code: Alert Test function disp_confirm() { testResult = document.getElementById('testResult'); if (confirm("Press a button.")) testResult.value = "You pressed the Confirm and OK button!"; else testResult.value = "You pressed the Confirm and Cancel button!"; } function disp_alert() { testResult = document.getElementById('testResult'); alert("Press OK") testResult.value = "You pressed the Alert button!" } There are two basic methods for bringing up dialogs using javascript. alert(message) -- Display message and OK button. confirm(message) -- Display message and OK and Cancel buttons. Results of dialogs: So i hope someone can give me codes of watir to solve js popup,do not use aotoit! thanks - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5882&messageID=16455#16455 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
[Wtr-general] how to install watir-1[1].5.1.1127.gem
I am a new watirer,I want to know how to install watir-1[1].5.1.1127.gem I have already install ruby185-21 and watir-1[1].5.0.945.exe, I want to handle js-popup problem,please help me,thanks - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5851&messageID=16363#16363 ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general