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
...
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
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
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 &
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(