Comment #3 on issue 1517 by raghaven...@gmail.com: Script hangs and can't go forwards in firefox
http://code.google.com/p/robotframework/issues/detail?id=1517

java Robot class not working in Firefox 17 upload window.
Same script working fine in IE,CHROME

script
driver.findElement(By.id("uploadPlaceholderHTML1")).click();
            setClipboardData("D:\\tt.txt");
                Thread.sleep(3000);
                Robot robot=new Robot();
                robot.delay(3000);
                robot.keyPress(KeyEvent.VK_CONTROL);
                robot.keyPress(KeyEvent.VK_V);
                System.out.println("ctrl and v key pressed");
                robot.keyRelease(KeyEvent.VK_V);
                robot.keyRelease(KeyEvent.VK_CONTROL);
                System.out.println("ctrl and v key released");
                robot.delay(5000);
                robot.keyPress(KeyEvent.VK_ENTER);
                robot.keyRelease(KeyEvent.VK_ENTER);
                Thread.sleep(3000);

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to