We are re-writing our UI Automation for both Winforms and WPF apps using WinAppDriver instead of using CodedUI. The main challenges we have are finding a clean way to
Get selected text.
Get the caret index within the textbox.
Select a text in a textbox by passing start index, and length
I couldn't find a clear way in winappdriver so I end up writing some code in both WPF and Winforms to populate selected text and caret index in another textbox. Which is a dirty solution and very confusing to my app users of course..
Any suggestions??
We are re-writing our UI Automation for both Winforms and WPF apps using WinAppDriver instead of using CodedUI. The main challenges we have are finding a clean way to
I couldn't find a clear way in winappdriver so I end up writing some code in both WPF and Winforms to populate selected text and caret index in another textbox. Which is a dirty solution and very confusing to my app users of course.. Any suggestions??