You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have couple of editbox as a ribbon tab ( COM add-In) in my excel application. I am trying to navigate to that tab and trying to setvalue to the first edit box.
window.getControlByClassName("MyAddinTab", "NetUIRibbonTab").getElement().setFocus(); - This works and this opens up the editboxes in that tab.
window.getEditBox(1).getElement().setFocus(); - This works and set the focus on this edit box
window.getEditBox(1).setValue("Test"); - This seems to be not working. There is no automationException or PatternNotfound exception.
( I am also not able to manually enter anything on the editbox after i run my code. I had to manually click on someother menu and the go back to my add-in tab & then my editbox works. This is totally strange)
Any idea/help on how to fix this issue ? or any workarounds?
The text was updated successfully, but these errors were encountered:
I tried to implement this directly in C# using UI automation framework and still having same issues. I think this is a problem with excel 2016 version. I will try to downgrade it to 2014 and try again.
I have couple of editbox as a ribbon tab ( COM add-In) in my excel application. I am trying to navigate to that tab and trying to setvalue to the first edit box.
window.getControlByClassName("MyAddinTab", "NetUIRibbonTab").getElement().setFocus(); - This works and this opens up the editboxes in that tab.
window.getEditBox(1).getElement().setFocus(); - This works and set the focus on this edit box
window.getEditBox(1).setValue("Test"); - This seems to be not working. There is no automationException or PatternNotfound exception.
( I am also not able to manually enter anything on the editbox after i run my code. I had to manually click on someother menu and the go back to my add-in tab & then my editbox works. This is totally strange)
Any idea/help on how to fix this issue ? or any workarounds?
The text was updated successfully, but these errors were encountered: