wdycwopt Posted February 22, 2019 Share Posted February 22, 2019 Hi, I've been using junkew's UI automation wrappers and SimpleSpy/Inspector.exe. I have a problem where I have 2 UI elements that share all the same ancestors and are identical on all the properties displayed from SimpleSpy and nearly identical on all properties from Inspector.exe (e.g. name, class, automationid, etc.). The only properties where they differ are some things such as location and whether or not it's vertically scrollable. I've attached the info displayed for the two UI elements in two log files here. Is there anyway to control which UI element I select? It seems like one is always being selected over the other, which is the one I actually need. Thank you in advance scrollviewer1.log scrollviewer2.log Link to comment Share on other sites More sharing options...
junkew Posted February 22, 2019 Share Posted February 22, 2019 Use index or indexrelative. Search in examples.zip for an example. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now