Hi,

I have watir installed.

Im starting 1 IE sesion afor my webapplication and soing some stuff.

At the same time in paralle, i need to invoke 1 more IE.  do some
stuff there.

Once done close this IE and attach to the previous IE.

Will it be possible?

Code snippet :

#################

def test

       $ie = Watir::IE.new()
       $ie.goto($someLink)

        <some porcessijg here>
        <Now open another IE>

         $ie1 = Watir::IE.new()
         $ie1.goto($someaddress)

         <some more processing on this new IE>

         $ie1.close

         $ie.attach(/previous IE/)

         $ie.close
end
###############


But this fails, it opens first IE, but then nothing being done.

so it is possible to automate such scenarios?

Thanks
Bhavesh

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to