摘要: 今天遇到的问题:当直接用如下assert的代码进行断言检查时,会报不兼容的字符编码的错误。# encoding: GBKrequire 'watir'require 'test/unit'class TC_login < Test::Unit::TestCase def setup puts "starting a testcase..." end def test_01_login #使用ie @ie=Watir::Browser.new #login @ie.goto("http://www.fenbi.com" 阅读全文
posted @ 2012-11-30 15:17 嬭茶 阅读(319) 评论(0) 推荐(0) 编辑