Get attribite activity output is 0 even though the selector is visible

Hi guys,

I recently updated my studio from 2019 to 2020 version. I am facing an issue while testing the bot codes. Here are details about the issue -
Get attribute activity giving output as 0. I did checked the selector and it is validating and when I use the same activity in a sample workflow it is giving correct value i.e., 1.

Can anyone help me what could be causing this problem.

Thanks in advance
Sai

Hi @KishoreC

Have you tried updating the UiPath.System.Activities and UiPath.UiAutomation.Activities package.

If not update the both packages to the latest version and set the runtime rule as Lowest as applicable.

Hope it helps!!

I will give it a try @mkankatala .

What do you mean by setting the runtime rule as Lowest as applicable?

And when I am trying to publish the package locally I am getting following error. Please let me know if you any idea about this issue -
The assembly compilation returned the following error
Cannot implecitly convert type ‘System.Activities.InArgument<System.SystemException>’ to ‘System.Activities.InArgument<System.Exception>’

Hi @KishoreC

There are several problems with the visible option, please check with below threads hope this address your issue

If possible try to use Element Exists or Check App State