Re: [Wtr-general] stange problem!!!

2007-01-09 Thread liucongying
When does the next version release? - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6044messageID=16941#16941 ___ Wtr-general mailing list

[Wtr-general] how to handle the file download window !

2007-01-09 Thread liucongying
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

Re: [Wtr-general] How do I click the OK button on a java alert?

2007-01-09 Thread liucongying
ans1 = objAutoit.ControlClick(Microsoft Internet Explorer,'', 'OK') the syntax is wrong, what is the ,,' in (Microsoft Internet Explorer,'', 'OK') ? - Posted via Jive Forums

Re: [Wtr-general] how to handle the file download window !

2007-01-09 Thread liucongying
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

[Wtr-general] stange problem!!!

2007-01-08 Thread liucongying
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 Unknown Access is denied. HRESULT error code:0x80020009

[Wtr-general] The method of show_links is wrong !!!

2006-12-25 Thread liucongying
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

[Wtr-general] A strange problem of ie.maximize

2006-12-24 Thread liucongying
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!!!

Re: [Wtr-general] how to know the content of a table 's colomn and row

2006-12-22 Thread liucongying
My problem is that the table has sub-table. HTML: table table tr.../tr spanPayroll Stucture/spanbr / a href=/payroll/payroll/payEntity.doPay Entity/abr / a href=/payroll/payroll/payGroup.doPay Group/abr / a

[Wtr-general] give a solution fo js popup

2006-12-20 Thread liucongying
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: html head titleAlert Test/title script type=text/javascript function disp_confirm() {

[Wtr-general] Give a solution fo javascript popup

2006-12-20 Thread liucongying
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#12290; So i hope someone can give me codes of watir to solve js popup,do not use aotoit! thanks

[Wtr-general] how to install watir-1[1].5.1.1127.gem

2006-12-19 Thread liucongying
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