Click on the Internet Option's tree item in background

Hi,

I wanted to click on the item of Advanced tab in Internet Option. I am unable to click the tree item. Then, I also notice that it can be done when using when click image activity. However, it fails when I clicked on the Stimulate Click or Send Window Messages.

The image below is the example of advanced tab. I wanted to click on the tree item
image

When I use

  1. Click activity.
    -when I use the click image, it select the whole container.
    image

  2. Click activity by editing the selector.
    -when I didn’t enable stimulate click or send window messages, it is successfully to click.
    -when I enable stimulate click , it shows Click with “Simulate” is not supported for this element
    -when I enable send window messages, it just highlight the text as shown in picture below.
    image
    -selector :

<uia automationid='1439' cls='SysTreeView32' /><uia name='Enable Enhanced Protected Mode*' role='tree item' />
  1. Click image activity.
    -when I didn’t enable stimulate click or send window messages, it is successfully to click.
    -when I enable stimulate click or send window messages, it just highlight the text.

How can I click the item in the background.
Or does it have any hotkey to select the item once the item is highlighted?

Thank you.

Hi @g_ii
Try to use Click Region, it will work
in 2022.20.3 existing activities are upgraded to advanced level.

Hi @g_ii,
Selector should contain the role attribute. Fine tune your selector
SyntaxEditor Code Snippet

ctrl name=‘Play system sounds-OFF’ role=‘check box’

Hello @g_ii

Send windows messages and simulate click input methods will not support some UI elements. Can you confirm whether this automationid is a static attribute?

Thanks

Hi,

The version of Studio I used is UiPath 2021.10.6.

Thus, it doesn’t have the click region.

Hi,

I checked my selector already, it contains the role attribute.

<uia automationid='1439' cls='SysTreeView32' /><uia name='Enable Enhanced Protected Mode*' role='tree item' />

The role is tree item.

And the problems is it successfully to run when it run in foreground but it fails when run in background.
When I enable the stimulate click, it shows an errors Click with “Simulate” is not supported for this element
And when I enable the send window message, it just select the word but didn’t tick on the checkbox beside.

Then we need to go with default one hardware events or the same as app/browser option.

Hi,

Can I know where and how can I check whether the automationid is a static attribute??

If I wanted to run the process in server through the unattended bot in orchestrator, will it faces errors if I let it go with the hardware events??

@g_ii .If it is not running in the same machine as the user works then it would not create an issue.

use uiexplorer and inspect that element. then again refresh the page and inspect again. Check whether the attribute is having the same value both times.

Thanks

I had just checked the element, the attribute is having the same value both times.

instead of click activity…Can you try with check activity as well.

Thanks

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.