Eclipse/Java/Selenium - Clicking a link works stand-alone but not in Automation [message #1804488] |
Tue, 26 March 2019 16:50 |
Eclipse User |
|
|
|
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!
|
|
|
Powered by
FUDForum. Page generated in 0.04077 seconds