Hello,
I am new to Ruby/watir ... so forgive me plz.
After reading through the ie window threads, I am still puzzled how to create
a single ie browser for my test. Questions:
1) If there is one browser instance for the test, how is one to close the
browser at the end of the test? Should a
Maisonnette wrote:
Hi everyone ,
I have two question for you !
1- I don't know what 's the difference between the ie.close and the
ie.close if ie.
In the first case if ie is nil (i.e. has not been initilized), then you
will get a missing method 'close' for nil error. In the second case,
Hi everyone ,
I have two question for you !
1- I don't know what 's the difference between the ie.close and the ie.close
if ie.
2- My iexplore.exe have it's since increase to 115000 KB and it crash ... to do
this , i have a testsuite and many (~35) testcase. Every testcase open an ie
windows
I'm not exactly sure why someone would do 'ie.close if ie'. Below is my best
guess at it.
---
require 'watir'
include Watir
ie = nil
if ie
puts 'ie object created'
else
puts 'no ie object'
endie
ie = IE.new()
if ie
puts 'ie object created'
else
puts 'no