Unable to use visibility attribute in the get attribute activity in UiPath

Hi,

I am trying to expand options (in tree fashion) inside a container in a desktop application using UiPath. Once the option is not visible, a scrolling is required to make the option visible and then expand that option.
The application doesnot support simulate click and send window messages property is also not working. So then I tried using “element exists” activity . While using the element exists activity , it showing that the option is available(not visible in foreground) but clicking is not working.
Then I tried using get attribute activity to get the visibility but the visibility property is returning 0,1 and 2 values which I am not able to follow.
Is there any other workaround for this?

@gautham.r,

This is the solution which will work for your problem statement. Just follow the documentation and you should get the resolution.

Thanks,
Ashok :slight_smile:

Assumption: Web element

analyse more in detail the element or the parent element on the visibility triggering attribute (CSS class, css property) and check for this.

For CSS Property retrieval (e.g. visibility: block, visibility: hidden) we can use the following activity:

Hi,

Mouse Scroll is not working as it is unable to locate the UiElement.

Hi Peter ,
Its not a web element. It is a desktop application.

Hi @gautham.r ,

Have you tried using Send Hotkey activity to scroll your application?
You can scroll and later click on the button.

check for the relativeVisibility attribute (direct element, or parent elements) if it is triggered by display state

Check if your application supports hotkeys or keyboard shortcuts for expanding options. If yes, you can try using the “Send Hotkey” action in UiPath to press the corresponding keys. If your application is a web application, you can try injecting JavaScript using the “Execute JavaScript” activity in UiPath to programmatically change the state of the settings and deploy them.