[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-11-10 Thread Angrez Singh
Are you using FireWatir? If yes, then did you went through the entire thread? - Angrez On Tue, Nov 10, 2009 at 8:14 PM, amol amol...@gmail.com wrote: Hi All, I want to handle basic authentication window on linux Please help me for that i'm not able to handle that, as i handle that

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-29 Thread Chris
FWIW: http://chrismcmahonsblog.blogspot.com/2006/05/internet-explorer-basic-authorization.html On Oct 28, 1:20 am, Angrez Singh ang...@gmail.com wrote: I have added the basic authentication mechanism to Firewatir. Its not yet released. Me Bret need to finalize on the syntax, method name etc

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-29 Thread Željko Filipin
On Thu, Oct 29, 2009 at 2:58 PM, Chris christopher.mcma...@gmail.com wrote: FWIW: http://chrismcmahonsblog.blogspot.com/2006/05/internet-explorer-basic-authorization.html Chris, Would you add this to Basic Authentication wiki page? http://wiki.openqa.org/display/WTR/Basic+Authentication

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-29 Thread Aedorn Varanis
Internet Explorer solutions don't tend to work well with Firefox in Linux. However, Angrez's fork had the solution so I'm using that now. Thanks Angrez, works perfectly! On Thu, Oct 29, 2009 at 7:58 AM, Chris christopher.mcma...@gmail.comwrote: FWIW:

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-29 Thread Angrez Singh
Thats great. I used it only on windows so it works on Linux as well. Happy to help - Angrez On Fri, Oct 30, 2009 at 12:38 AM, Aedorn Varanis aed...@gmail.com wrote: Internet Explorer solutions don't tend to work well with Firefox in Linux. However, Angrez's fork had the solution so I'm using

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-28 Thread Angrez Singh
I have added the basic authentication mechanism to Firewatir. Its not yet released. Me Bret need to finalize on the syntax, method name etc so that its easier to use both with Watir/Firewatir. - Angrez On Wed, Oct 28, 2009 at 10:28 AM, Raveendran P jazzezr...@gmail.com wrote: Hi Aedorn,

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-28 Thread Aedorn Varanis
When you do it this way we get a couple of popups. The first being a this could be a trick as the site doesn't require and the second a confirmation. Both which we can't close automatically, it seems. I'll look at the scripting method for Firefox. On Tue, Oct 27, 2009 at 10:58 PM, Raveendran P

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-28 Thread Chris
On Oct 28, 1:20 am, Angrez Singh ang...@gmail.com wrote: I have added the basic authentication mechanism to Firewatir. Its not yet released. Me Bret need to finalize on the syntax, method name etc so that its easier to use both with Watir/Firewatir. That's cool. I could have used that

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-28 Thread aidy lewis
Angrez, Is that code on github though? Aidy 2009/10/28 Angrez Singh ang...@gmail.com: I have added the basic authentication mechanism to Firewatir. Its not yet released. Me Bret need to finalize on the syntax, method name etc so that its easier to use both with Watir/Firewatir. - Angrez

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-28 Thread Angrez Singh
Its in my fork on github. You can have a look. - Angrez On Wed, Oct 28, 2009 at 7:31 PM, aidy lewis aidy.le...@googlemail.comwrote: Angrez, Is that code on github though? Aidy 2009/10/28 Angrez Singh ang...@gmail.com: I have added the basic authentication mechanism to Firewatir. Its

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-28 Thread aidy lewis
What file and methods should I be looking at? Thanks Aidy 2009/10/28 Angrez Singh ang...@gmail.com: Its in my fork on github. You can have a look. - Angrez On Wed, Oct 28, 2009 at 7:31 PM, aidy lewis aidy.le...@googlemail.com wrote: Angrez, Is that code on github though? Aidy

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-28 Thread Angrez Singh
firefox.rb file contains code for basic authentication. On Wed, Oct 28, 2009 at 10:42 PM, aidy lewis aidy.le...@googlemail.comwrote: What file and methods should I be looking at? Thanks Aidy 2009/10/28 Angrez Singh ang...@gmail.com: Its in my fork on github. You can have a look. -

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-28 Thread aidy lewis
Sorry Angrez But where is the getWindows method coming from? Aidy 2009/10/28 Angrez Singh ang...@gmail.com: firefox.rb file contains code for basic authentication. On Wed, Oct 28, 2009 at 10:42 PM, aidy lewis aidy.le...@googlemail.com wrote: What file and methods should I be looking at?

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-28 Thread Angrez Singh
getWindows() is method exposed by jssh with gives you all the Firefox windows which are currently opened. Is this what you are asking? Or am I missing something? On Wed, Oct 28, 2009 at 11:50 PM, aidy lewis aidy.le...@googlemail.comwrote: Sorry Angrez But where is the getWindows method

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-27 Thread aidy lewis
Can you not set your trusted uri's in about:config network.automatic-ntlm-auth.trusted-uris ? Aidy 2009/10/27 Aedorn Varanis aed...@gmail.com: I took a look around but it doesn't like there's any answer to this. I've recently been tasked to automate testing of a product, and the only thing

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-27 Thread Aedorn Varanis
This doesn't really solve the problem. On Tue, Oct 27, 2009 at 1:09 PM, aidy lewis aidy.le...@googlemail.comwrote: Can you not set your trusted uri's in about:config network.automatic-ntlm-auth.trusted-uris ? Aidy 2009/10/27 Aedorn Varanis aed...@gmail.com: I took a look around but

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-27 Thread Chris
I looked into this a long time ago, and there is no way to persist a Basic Auth session in a browser. You have to have credentials for every page request and every frame within every page. I was hacking around deep in the guts of Watir trying to make this work and failed. Nor do I know of

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-27 Thread aidy lewis
The Firefox browser is completly scriptable. I would suggest looking at the Mozilla js classes. 2009/10/27 Chris christopher.mcma...@gmail.com: I looked into this a long time ago, and there is no way to persist a Basic Auth session in a browser.  You have to have credentials for every page

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-27 Thread Ethan
Yeah, you should be able to get a handle to the window where you enter username/password, get the text fields on that window, set them, click the 'ok' button. That'd all be in javascript over the jssh socket. On Tue, Oct 27, 2009 at 20:28, aidy lewis aidy.le...@googlemail.com wrote: The

[wtr-general] Re: Basic authentication on Linux with FireWatir

2009-10-27 Thread Raveendran P
Hi Aedorn, I got some idea's from Selenium.I implemented it in my Watir scripts. Have you tried this way? -- http://bit.ly/21zDrH Awaiting your reply Thanks On Wed, Oct 28, 2009 at 6:03 AM, Ethan notet...@gmail.com wrote: Yeah, you should be able to get a handle to