Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse/Java/Selenium - Clicking a link works stand-alone but not in Automation(Clicking a link in a Selenium-Eclipse based script fails to open browser's download popup window)
Eclipse/Java/Selenium - Clicking a link works stand-alone but not in Automation [message #1804488] Tue, 26 March 2019 16:50
Eclipse UserFriend
I am fairly new to Eclipse and Java (over 1 year). For my company, I am automating a web site and we support both IE and Chrome. This scenario works fine in Chrome, but I am stuck on a problem when running it in Eclipse/Java/Selenium, and Internet Explorer 11 (it works fine when I log in and run manually!). On a certain page, there is an icon to "Export to Excel" (and another icon directly to its left, to "Export to PDF"). When I run stand-alone, it correctly creates a small CSV file, and IE displays that orange-colored strip/stripe popup near the bottom of the page, with the message "Do you want to Open or Save [filename.csv]?" followed by the [Open] [Save] [Cancel] buttons. But when I run in automation (Eclipse and Selenium), I do not get that popup, instead; it opens another application's page and displays an irrelevant error message ("Please try again. Current request is a required field.") In Chrome, this scenario works perfectly inside Eclipse and creates that tab in the lower left-hand corner of the page, or, opens the spreadsheet, depending on my settings. I have tried all combinations of IE settings (popup blocker, etc.). Any ideas to make this work in Eclipse would be greatly appreciated!
Previous Topic:Autogenerate jaxb files with build
Next Topic:New to Java
Goto Forum:
  


Current Time: Sun Apr 20 05:56:04 EDT 2025

Powered by FUDForum. Page generated in 0.04077 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top