Is there a way to access UI objects through XPath?

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
mhcha
Junior Coder
Posts: 23
Joined: Sat Jan 01, 2022 11:10 am

Is there a way to access UI objects through XPath?

Post by mhcha » Mon Aug 28, 2023 12:32 pm

First of all, I am using the functions of macro schedulers well for work. Thank you.

However, there has been a problem recently.

The application I'm going to use for automation is displayed in the View System Window as Chrome_RenderWidgetHostHWND "Chrome Legacy Window".

So it's hard to access the elements in the application.

I can automate through images and so on, but I want to interact directly with UI for stability.

For example, notepad

/Notepad [title = @"*Test - Notepad"]

/window/pane[2]/pane/button

Can I access UI objects of an application using Xpath such as ?

mhcha
Junior Coder
Posts: 23
Joined: Sat Jan 01, 2022 11:10 am

Re: Is there a way to access UI objects through XPath?

Post by mhcha » Mon Aug 28, 2023 1:11 pm

With View System Windows, I was able to find the elements I wanted in the UI accessible list.

I'm closing this post because I've fixed the problem.

Thank you.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts