Upload file ( Native Popup Window)

Hello All

I have no idea for Upload File ( From Window )

  • How to do it ?

  • How to Capture Object in Window PopUp

Any one know , please help me step by step

Thank so much

use robot class
Toolkit.getDefaultToolkit().getSystemClipboard().setContents(ss, null)
Robot robot = new Robot()
robot.delay(1500)
robot.keyPress(KeyEvent.VK_CONTROL)
robot.keyPress(KeyEvent.VK_V)
robot.keyRelease(KeyEvent.VK_V)
robot.keyRelease(KeyEvent.VK_CONTROL)
robot.delay(1500)
robot.keyPress(KeyEvent.VK_ENTER)
robot.keyRelease(KeyEvent.VK_ENTER)

1 Like

Hello Manu

I will follow up your guide , fedback you know
Thank you

Something wrong with this
Help me to Next step ?

Please change WebUICustomkeyword to Upload

1 Like

Hi DuyLuong

Vote for you 5star
Bulid : Successful

Best Solution

1 Like

Thanks a lot for the help! It was what I needed. Worked perfectly.

1 Like