B
Bob Smyph
When trying to create a new IE instance my program keeps failing when
trying to open the IE page. Below is the error that I get from IE:
*Windows cannot acess the specified device, path, or file. You may not
have the appropriate permisions to access the item
then this one show up after about 60 of the one above
*An attempt was made to reference a token that does not exist.
below is the code that I am trying to execute
require 'test/unit'
require 'watir'
require 'watir\contrib\enabled_popup'
require 'date'
class TestCasesProfile < Test::Unit::TestCase
def test1
puts "before Watir::IE.new_process"
$ie = Watir::IE.new
$ie.speed = :fast
$ie.goto("www.google.com")
end
end
the error is coming up on "$ie = Watir::IE.new"
but if I change that line to "$ie = Watir::IE.new_process" the code
works
any help would be greatly appreciated
trying to open the IE page. Below is the error that I get from IE:
*Windows cannot acess the specified device, path, or file. You may not
have the appropriate permisions to access the item
then this one show up after about 60 of the one above
*An attempt was made to reference a token that does not exist.
below is the code that I am trying to execute
require 'test/unit'
require 'watir'
require 'watir\contrib\enabled_popup'
require 'date'
class TestCasesProfile < Test::Unit::TestCase
def test1
puts "before Watir::IE.new_process"
$ie = Watir::IE.new
$ie.speed = :fast
$ie.goto("www.google.com")
end
end
the error is coming up on "$ie = Watir::IE.new"
but if I change that line to "$ie = Watir::IE.new_process" the code
works
any help would be greatly appreciated