How to handle download popup in IE browser through selenium web driver

rpa

#1

Unable to switch on download popup.Tried with below code it not working properly on clients server.

                         driver.switchTo().activeElement();
                         Robot robot = new Robot();
                         robot.setAutoDelay(250);
                         robot.keyPress(KeyEvent.VK_TAB);
                         robot.keyRelease(KeyEvent.VK_TAB);
                         robot.keyPress(KeyEvent.VK_TAB);
                         robot.keyRelease(KeyEvent.VK_TAB);
                         robot.keyPress(KeyEvent.VK_ENTER);
                         robot.keyRelease(KeyEvent.VK_ENTER);



                          Robot = new Robot();
                          robot.setAutoDelay(250);
                          robot.keyPress(KeyEvent.VK_ALT);
                          robot.keyPress(KeyEvent.VK_S);
                          robot.keyRelease(KeyEvent.VK_ALT);
                          robot.keyRelease(KeyEvent.VK_S);


#2

Have you tried using AutoIT Scripting?

Also you can try the Robot Handling activity using Keyboard shortcuts like Ctrl+S or something like that.


#3

Tried with AutoIT scripting also but that popup does not have any identity like name,class,id etc.
Ctrl+S saves whole page.


#4

Hi Sager,

You can try with Sikuli java code.