i am running a watir script on a url. The script opens pdf documents
in new windows. There are more that 100 pdf files on opening each in
new window the window hangs and I am not able to run the entire
script. Can some one help me out in this.
Is there a method such as ie.close to close the new
On Wed, Dec 30, 2009 at 10:13 AM, Tester joeni...@gmail.com wrote:
Is there a method such as ie.close
Yes.
browser.close should close the browser.
Quick overview of Watir methods:
http://wiki.openqa.org/display/WTR/Cheat+Sheet
Željko
--
watir.com - community manager
watirpodcast.com - host
u will need to get the handle of new browsers that are opening
then execute browser.close for those browser windows
if you are clicking some link/image which in turn opens your new browser
window
then you will have to use some 'getwindow' type of method to get the handle
of that browser
If in case you are clicking on some link/image which in turn opens a new
browser window then u ll need to get the handle of that new window first.
Then u can execute browser.close on it.
U ll need to attach the new window to a new watir browser instance.
eg -
ie2 = watir::IE.new
ie2.attach(:url,
Hi Tiffany,
Thanks so much for your post, all good ideas.
I just wanted to follow-up. It seems that after rebooting the computer
(a sure fix-all?), this problem went away. I don't know if I'll ever
know the answer as to why this was happening, but its all good now.
So, this will help me to
Hi Angrez
Could you please give some time and help with this..
Regards
Pallavi.
-- Forwarded message --
From: Pallavi Sharma write2pall...@gmail.com
Date: Wed, Dec 30, 2009 at 9:21 AM
Subject: Re: [wtr-general] Re: Fwd: Regarding Getting Page Text in Watir and
FireWatir
To:
br by virtue should break the line and what you observe while running in
ie is correct. May be that firewatir is not treating it that way. [I have
not explored firewatir to that extent to confirm this]
If you can tell us what exactly you are intend to do after getting the text
then we can think
I'll look into this issue.
- Angrez
On Thu, Dec 31, 2009 at 10:40 AM, Krishna saradka krishna.sara...@gmail.com
wrote:
br by virtue should break the line and what you observe while running in
ie is correct. May be that firewatir is not treating it that way. [I have
not explored firewatir to
Thanks for the reply.
Ideally i would have expected firewatir to behave the watir way and put a
new line. I understand its not a clean way, and even we chose it after much
deliberation as there was nothing much we could do with the page and text
validation on it for comparisions.
Would really
Thanks Angrez.
Rgds
Pallavi.
On Thu, Dec 31, 2009 at 11:18 AM, Angrez Singh ang...@gmail.com wrote:
I'll look into this issue.
- Angrez
On Thu, Dec 31, 2009 at 10:40 AM, Krishna saradka
krishna.sara...@gmail.com wrote:
br by virtue should break the line and what you observe while
Actually for your HTML code the result returned by Firewatir is as per the
W3C standard. Check this link:
https://bugzilla.mozilla.org/show_bug.cgi?id=316063
I am working on how we can actually make the results similar.
- Angrez
On Thu, Dec 31, 2009 at 11:26 AM, Pallavi Sharma
11 matches
Mail list logo