User Profile
co631
Copper Contributor
Joined 5 years ago
User Widgets
Recent Discussions
Office Add-in does not support Office URI on Mac
https://docs.microsoft.com/en-us/office/client-developer/office-uri-schemes describes how a URI can be used to open documents from a URL (e.g., OneDrive) in Office. I'd expect this to work in an Office Add-in which it partly did but not on macOS, tested with PowerPoint for Mac 16.61 (22042403) on macOS 12.3. I tried it with these links <a href="ms-powerpoint:ofe%7Cu%7Chttp://download.microsoft.com/download/6/4/5/6457fca2-83d4-4cfa-8a28-d247dcbdd464%2FUnit%20Testing.pptx">Open</a> <input type="button" value="Test" onclick="window.location.replace('ms-powerpoint:ofe%7Cu%7Chttp://download.microsoft.com/download/6/4/5/6457fca2-83d4-4cfa-8a28-d247dcbdd464%2FUnit%20Testing.pptx'); return false;" /> These work in an Office Add-in on Windows and also in Safari. But they have no effect when used in an Office Add-in on macOS.878Views0likes0CommentsAutomation not working anymore with Edge 93 in non-interactive session
We are using the Edge web driver to run automated tests on a server. After updating to Edge 93 tests don't work like they did before. I was able to reproduce that Edge responds differently when run in a non-interactive session. Steps to reproduce Create C# project with Selenium.WebDriver package (4.0.0) var options = new OpenQA.Selenium.Edge.EdgeOptions() { UseChromium = true, DebuggerAddress = "localhost:9222", }; using var driver = new OpenQA.Selenium.Edge.EdgeDriver(options); driver.Navigate().GoToUrl("https://www.google.com"); var screenshot = driver.GetScreenshot(); Create a scheduled task running "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --remote-debugging-port=9222 --enable-automation Set scheduled task to "Run only when the user is logged on" Run scheduled and run application -> creates screenshot as expected End scheduled task and set to "Run whether user is logged on or not" (enter password) Run scheduled and run application ->error: The HTTP request to the remote WebDriver server for URL http://localhost:58123/session/f6c84ea3b35e3a53d074dca63867e87d/screenshot timed out after 60 seconds. --- Taking a screenshot is one example of things that behave differently in a non-interactive session. In other cases the error was that an element was not clickable which it clearly is when seeing the browser on the screen. I saw the same behavior with the latest Beta and Alpha release. With the previous 92 version as well as Chrome 93 there was no problem.1.4KViews0likes3Comments
Recent Blog Articles
No content to show