[wtr-general] Re: Basic authentication on Linux with FireWatir
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 successfully in windows Regards, Amol Khawre On Oct 30, 12:35 am, Angrez Singh ang...@gmail.com wrote: 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 that now. Thanks Angrez, works perfectly! On Thu, Oct 29, 2009 at 7:58 AM, Chris christopher.mcma...@gmail.com wrote: FWIW: http://chrismcmahonsblog.blogspot.com/2006/05/internet-explorer-basic. .. 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. - Angrez On Wed, Oct 28, 2009 at 10:28 AM, Raveendran P jazzezr...@gmail.com wrote: 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 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 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 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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, buiret I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: 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 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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 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, 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 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.comwrote: 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 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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, buiret I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: 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 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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 Željko -- watir.com - community manager watirpodcast.com - host --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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: 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 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, 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 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 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 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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, buiret I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: 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 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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 that now. Thanks Angrez, works perfectly! On Thu, Oct 29, 2009 at 7:58 AM, Chris christopher.mcma...@gmail.comwrote: 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 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, 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 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 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 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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, buiret I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: 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 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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, 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 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.comwrote: 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 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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, buiret I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: 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 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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 jazzezr...@gmail.com wrote: 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 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.comwrote: 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 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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, buiret I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: 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 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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 some time ago. :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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 On Wed, Oct 28, 2009 at 10:28 AM, Raveendran P jazzezr...@gmail.com wrote: 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 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 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 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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, buiret I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: 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 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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 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, 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 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 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 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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, buiret I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: 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 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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 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 On Wed, Oct 28, 2009 at 10:28 AM, Raveendran P jazzezr...@gmail.com wrote: 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 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 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 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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, buiret I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: 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 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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. - 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 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 On Wed, Oct 28, 2009 at 10:28 AM, Raveendran P jazzezr...@gmail.com wrote: 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 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 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 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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, buiret I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: 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 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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? 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 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 On Wed, Oct 28, 2009 at 10:28 AM, Raveendran P jazzezr...@gmail.com wrote: 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 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 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 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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, buiret I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: 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 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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 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? 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 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 On Wed, Oct 28, 2009 at 10:28 AM, Raveendran P jazzezr...@gmail.com wrote: 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 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 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 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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, buiret I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: 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 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, but I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: 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 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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 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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, buiret I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: 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 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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 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 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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, buiret I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: This doesn't really solve the problem. On Tue, Oct 27, 2009 at 1:09 PM, aidy lewis aidy.le...@googlemail.com wrote: 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---
[wtr-general] Re: Basic authentication on Linux with FireWatir
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 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.comwrote: 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 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 any other tool that makes this possible. There might be something fancy you could do in multiple libraries used by Watir, buiret I did not have that kind of mandate. I suggest a well-designed set of manual tours. -Chris On Oct 27, 1:53 pm, Aedorn Varanis aed...@gmail.com wrote: This doesn't really solve the problem. On Tue, Oct 27, 2009 at 1:09 PM, aidy lewis aidy.le...@googlemail.com wrote: 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 I can't seem to solve is basic authentication, which is rather funny to me, but not so much to those who are waiting on this being done. So how can one go about doing basic authentication with FireWatir/Firefox on Linux currently? -- Regards, P.Raveendran http://raveendran.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---