We have submitted our outlook plugin for certification and received the following message back:
"The add-in did not pass compatibility tests for Outlook on the Web in Safari (Version:13.1(15609.1.20.111.8)).
Nothing appears to be launched when we click "Schedule" button in message read mode in the above browser."
We can reproduce this locally, but the cause is that the pop-up blocker is blocking the window that office sdk is attempting to open when we call Office.context.mailbox.displayNewAppointmentForm. Our plugin does not specifically call window.open.
We have also tested this behavior in Firefox and we get the same results. Please let me know how to go forward from here.
Related
I'm trying to add Google Signin to our login page. I've followed the code supplied by Google, as well as a GitHub project that I used for code example. Both work perfect on Chrome, FireFox, Safari, but I can't get it to work on IE11 or Edge.
The GitHub project is at https://github.com/googleplus/gplus-quickstart-javascript. This project uses Google's newer apis.google.com, however I've also tried plus.google.com as suggested in another post. Neither work.
I added a data-onfailure function to the button, and get an error "popup_blocked_by_browser" even though the popup blocker is turned off in the browser. Even though I get this popup error, I do get a popup that asks which Google account to use, but when I choose one, I get the "The webpage your are viewing is trying to close the window" message. If I choose Yes, the window closes, but I don't get logged in.
Anyone have any advice for getting this to work in IE or Edge?
I ran into this problem on IE 11 with Windows 10.
I fixed it and then it happened again after receiving Windows Updates - annoying!
Here is what fixed it for me; it was an IE Setting.
Go to:
IE -> Internet Options -> Security
Check "Apply" and then "OK" To exit.
IE Settings Screen Shot
Finally, restart IE.
My web app uses IndexedDB and I'm testing on SauceLabs. Some months back my tests ran but now they block on a browser dialog that says "http://gbserver3.cs.unc.edu/" wants to: store files on this device", with an Allow button.
This is Win7 and Chrome or Firefox. Likely others too.
How can I dismiss or prevent this dialog?
Update: I have discovered that if I don't ask for quota I don't get the popup and my tests succeed. I'd still like to learn how to get rid of that dialog.
we are using Nightwatch.js in our project and we were facing the same issue.
What actually did the trick was using --unlimited-storage switch when launching the browser.
(List of other command line switches for Chromium can be found here)
We have pages where we occasionally see compromised SSL certificate because of third party scripts that load non HTTPS resources (Initially they're fine but they occasionally change). We would like to test those pages for broken SSL every day.
We have tried one approach, attempting to catch a pop-up message that would indicate that we have insecure content on the page. However, we have been unsuccessful in simulating the pop-up message through selenium. It appears that selenium has automatically disabled any popups. While we have identified a Selenium method to disable the suppression of the pop-ups(disable-popup-handler) but we have not been able to successfully see the popup even using this method.
Has anyone found a way to detect broken SSL pages using Selenium?
You need to load a browser profile (with WebDriver) that doesn't have the setting for popup blocker enabled (using the Profile class and giving it the right properties). Then, you will get the Windows popup message concerning the SSL cert. If , for some reason, you cannot control the popup using WebDriver (because its limited to Action control only within the browser content window) then you can use Sikuli API to handle the dialog and export the cert to the "Downloads" dir and then copy the file to expected location for inspection. Unfortunately, if you use Sikuli, that will make your automation script sequential and not work via a RemoteWebDriver grid server and so you wont be able to run parallel tests. Hopfully, WebDriver gives you access to the dialog and so you will be able to run with RemoteWebDriver because that is the best way to go when running scripts, even if you run a browser locally.
I am working on client side. I have created around 150 test scripts. But during execution, after some script execution, Selenium throws below error and it close the browser. Time is not a fix for this error. It comes when I am executing all the test scripts together in parallel.
The error shows on Google Chrome and Firefox browsers. I am using selenium-server-standalone-2.26.0.jar file and doing execution on FF 13.0.1 version. I have also tried with FF version 14, but I get the same error. My client is not happy with this error because we dont have workaround for this issue.
**Error message:**
Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Error communicating with the remote browser. It may have died
I think this will happen when you dealing with popup window.
Example
Working on main window clicking on something leads to open a new popup
switch the control to popup window & do your operations in pop-up
Most of the cases popup will be closed automatically after some action performed in it. (EX : Login with facebook option most of site now a days, after entering user credential no need to close that popup it will be closed automatically after submitting proper credentials)
After this you need to switch the control to main window again otherwise it will throws above exception.
I think your doing some operations without having the control over a window.
I am trying automate Microsoft Dynamics CRM application using Selenium RC, I am unable to handle the modal(child browser) windows. Every time Selenium clicks to open modal window ( selenium.selectWindow("windowName")) I am getting the following error.
There was an unexpected Alert! [A Microsoft Dynamics CRM window was
unable to open, and may have been blocked by a pop-up blocker. Please
add this Microsoft Dynamics CRM server to the list of sites your
pop-up blocker allows to open new windows:
As per the research I tried to add the sever site to trusted sites and also added the site to popup blocker allow list but no gains.
Please direct to me right way of handling it
For some reason Microsoft Dynamics CRM thinks it cannot open the popup window, so it wants to show an alert indicating that. Selenium sees the alert and since it is not expected (you didn't call getAlert()), so the next selenium action (which is selecting the window if I understand correctly) fails.
Maybe you need to wait for the window to actually appear before selecting it?
Check what happens if you set a breakpoint just before the selectWindow() and step through it.
Also try the same steps manually. Do they work?
Remember that selenium uses its own default profile for browsers, so your popup blocker settings may not get through. Which browser is this?
What you can do is accept the popups in the Internet Security, and un-mark the Browse in Secure mode. Close your browser.
Then try it in FireFox and after that do it in Internet Explorer again.