-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WinAppdriver cannot find Elements in Office Word 2016 #622
Comments
Hi @mlehinchenko, Can you provide the following information: What version of Windows? Lastly, what attributes (AutomationID, XPath) are you using to identify the elements? Thanks |
Similarly, I'm also unable to use XPath to find elements in Outlook. By AutomationId/Name do work. WinAppDriver - 1.1 I tried Session.FindElementByXpath("/") or "/*" to try and get any element. No results. I tried running WinAppDriver directly from command prompt: winappdriver 127.0.0.1 4723/wd/hub Any thoughts for me to try? |
There is an active issue around Microsoft Outlook having multiple elements sharing runtimeId that WinAppDriver wasn't expecting. We are currently working on a fix that may alleviate your issue. Please stay tune. |
Hi @jgilpin, @mlehinchenko, WinAppDriver v1.1.1 release properly handles the exception scenario where distinct elements share the same runtimeId. This issue prematurely terminate XPath element search in previous releases. Can you please give it a try to see if this fix the issue you encountered? |
@timotiusmargo Will give it a try and let you know. thanks for your efforts. |
@timotiusmargo Will check out 1.1.1 today! |
@timotiusmargo no luck |
@timotiusmargo 1.1.1 and desktopSession.FindElementByXPath() work for me in Outlook for Office 365 16.0.11328.20140 64-bit. For others, my desktopSession is instantiated with Appium.Dotnet like this:
|
@timotiusmargo hi once again, seems like my bad and it is working. Had to change a little bit strategy of searching but in the end everything seems to be OK. Thanks for help. |
@timotiusmargo Should I close the issue or it will be auto-closed? |
Thanks for the update @mlehinchenko! I'm glad the WinAppDriver v1.1.1 release successfully addressed the issue. |
WinAppDriver - 1.1
Microsoft Word 2016
We are developing build in plugin in Office Word 2016.
During version 1803 of Word we had no issues locating elements.
After upgrade to version 1808 - WinAppdriver cannot locate elements.
We had to downgrade but it is very crucial for us to have Word up-to-date.
Attaching an example of simple table prepared by devs in which WinAppDriver cannot locate elements.
Invisible content controls.docx
The text was updated successfully, but these errors were encountered: