Answer the question
In order to leave comments, you need to log in
How to search for UI elements of a desktop application that are not visible to Inspect and Vinium?
Good day to all readers!
At work, we set the task of automating testing of the UI of a desktop application. I write autotests in C# using the framework from 2GIS - Winium. To search for UI elements, I use Inspect, which is part of Windows Kits, or Winium. So, when searching for elements, I almost immediately ran into a problem: some elements cannot be found either by Inspect or by Winium.
Here is an example of one of the forms:
Inspect in this case does not see the tab (highlighted in yellow), which is why you have to come up with all sorts of workarounds, such as using hotkeys or shifting focus from one element to another through tabulation.
OS: Windows Server 2008 R2. Autotests are developed and debugged on a remote machine.
Can you please tell me if there is any way to access such elements?
Answer the question
In order to leave comments, you need to log in
Through the Win API, you can find anything, even the Start button. There is a book "Programming in C ++ through the eyes of a hacker.", which in the first chapters tells how to do it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question