Question Clicking "OK" on an Internet Explorer popup?

Raygar

Member
Joined
Mar 17, 2011
Messages
5
Programming Experience
Beginner
I've been doing hours of research on this without any luck.

While logged into a website, there is a button to delete an item. When the script .clicks the button, a popup window appears.
I inserted a 2 second pause, then tried a Sendkeys.
Sendkeys doesn't appear to send keys to the popup. Some google searches talked about setting up a timer, but that didn't work for me either.

Parent site title: Route
Pop up's title: Message from webpage
Pop up's options: OK, Cancel


Edit: I tried something before, but I was doing it wrong.
ie.document.getElementById("button").removeAttribute ("onclick") (I was using getElementsbyName, and I guess that method doesn't work with it).
 
Last edited:
Back
Top