*Hi Group,* *I am using below code to upload the files using Firefox, Chrome and IE browsers in Selenium web driver*
* StringSelection stringSelection = new StringSelection("D:\\VertexSVN\\branches\\R3\\Vertex\\Uploading Files\\hello.csv");* * Toolkit.getDefaultToolkit().getSystemClipboard().setContents(stringSelection, null);* * Robot robot = new Robot(); robot.delay(1000);* * robot.keyPress(KeyEvent.VK_CONTROL);* * robot.keyPress(KeyEvent.VK_V);* * robot.keyRelease(KeyEvent.VK_V);* * robot.keyRelease(KeyEvent.VK_CONTROL);* * robot.delay(1000);* * robot.keyPress(KeyEvent.VK_ENTER);* * robot.keyRelease(KeyEvent.VK_ENTER);* * robot.delay(1000);* *Able to enter and select the valid path in File upload window for all browsers. but after enter the Open button it's taking invalid path for chrome and IE browsers.* *Please find the attached screen shots for reference.* *Let me know if you have idea about it.* *Thanks,* *Venkat* -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
<<attachment: Upload issue.png>>