I’m logging into a remote desktop and want to automate some tasks. I’ve installed the correct version of UiPathRemoteRuntime in the remote machine and have the Microsoft remote desktop and apps extensions installed in my studio.i indicate the applucation with a Use application browser, which works, but when I try to click, I get an error: “The indicated element does not belong to the target application.” Does this only work for classic UI activities?
Hey @lr101 This issue doesn’t only apply to classic UI activities**—it can occur with both classic and modern UI automation activities, depending on how the remote session is configured.
if you are working with modern activity try to use another use application/browser activity and inside that then use click activity . add some delay might be the click take time and try to use simulate click.or window message from the property of Click Activity.
cheers
hey @singh_sumit , the remote session is configured to the same version as the ui.automation package.
i have tired to use application but still get the same exception
Hey @lr101 are you targeting the edge browser in the bottom ribbon? and try to open it using use application/browser?
where are you trying to click .
edge browser logo, windows logo, anything in the rdp. still same exception
Hey @lr101 instead of using modern activity can you try with classic like use attach window and inside that use click activity and enable the simulate option from property panel.The classic activities are generally more stable when interacting with desktop applications, especially in remote environments.
That works, but some of the elements from the modern activity are missing
Like the computer vison
you can use it like in the classic their is CV click Activity is also available.
The bottom windows bar is not been recognised by the cv.
How am i supposed to open applications in the Remote Desktop?
You can use start process activity.
The bottom windows bar is not been recognised by the cv. then click is the better option.
How do i use start process activity in the remote machine?


