[wtr-general] Re: Interact with Javascript Pop Up

2011-03-07 Thread Mattias Karlsson
Hi, we have tried both options, the first one doesn't seem to find the popup window when it is invoked by the browser directly, testing xss vulnerability, instead of when invoking it in markup. For example, I am trying this: 1) returned = @browser.alert do @browser.goto('http://

[wtr-general] Re: Interact with Javascript Pop Up

2011-03-07 Thread Mattias Karlsson
On Mar 3, 3:52 pm, Jari Bakken jari.bak...@gmail.com wrote: On Thu, Mar 3, 2011 at 2:12 PM, Usman Hussain usmanhhuss...@gmail.com wrote: Hi Guys, Im doing a test at the moment where when I enter in something into the url it brings up a Javascript pop up. Now  I do not want to turn the

Re: [wtr-general] Re: Interact with Javascript Pop Up

2011-03-07 Thread Jari Bakken
On Mon, Mar 7, 2011 at 12:04 PM, Mattias Karlsson mattiaskar...@gmail.com wrote: 1)  returned = @browser.alert do    @browser.goto('http:// www.url.com/+void(document.cookie=authorization=true)+alert(document.cookie)+')   end   returned.should == ok # Doing positive test first but it