The prerequisite is Android studio must be open before running the sample code.
The objects may have changed. Try to find it first.
uia is reserved object to automate win32, .net, WPF etc applications.
Here is a sample for step by step automation http://thetestmate.com/desktop-automation-step-step/
Can you please share the minimum reproducible code ?
]]>That’s interesting. It may be using some non Swing components.
For Swing applications it should work.
Yes!
I saw your reply on Youtube.
You can Activate the windows using uia.SetFocus() method (For java Applications, this method works on the topmost windows, not the internal elements).
Do let me know if that works for you, or share some sample(With application) scenario and we can try to make it work for you.
]]>Yes
]]>