[wtr-general] why my script could not click ok?

2009-05-15 Thread lnl
require 'watir' require 'win32ole' require 'test/unit' require 'test/unit/ui/console/testrunner' test_site = 'http://192.168.0.26:7001/ghg' ie = Watir::IE.new #$ie = IE.new #ie2 = nil puts "Step 1: go to the test site: " + test_site ie.goto(test_site) puts " Action: entered " + test_si

[wtr-general] how to deal alter popups( in 1.4.1.exe)

2009-05-20 Thread lnl
... def push_alter_ok autoit=win32ole.new('autoitx3.control') autoit.winwait "Microsoft Internet Explorer","" autoir.send("{enter}") end .. why I add the code in my script,it could not useful? thanks. --~--~-~--~~~---~--~~ You received this message because you are s

[wtr-general] how simulate click the calendar day?

2009-05-21 Thread lnl
In date control,I could simulate select 'year',select 'month', but how to simulate click the day? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to wati

[wtr-general] Re: how simulate click the calendar day?

2009-05-24 Thread lnl
like this date control,top of the web,how to simulate click the'12'? thanks. http://www.cnblogs.com/qianbao/archive/2008/03/12/1102470.html On 5月22日, 下午5时46分, Željko Filipin wrote: > On Fri, May 22, 2009 at 5:53 AM, lnl wrote: > > In date control,I could simulate select &

[wtr-general] Re: how simulate click the calendar day?

2009-05-24 Thread lnl
It is a table,thanks On 5月25日, 上午10时23分, Wesley Chen wrote: > It is not enough if you just provide the JS. > Generally, if you would like to click the calendar, we have to do: > 1. Identity what the calendar is, a frame? or just a table; > 2. If it is a frame, you have to: > $ie.frame( ).table(