Verify Control Attribute Output Element not able to validate with the expresssion

Verify Control Attribute Output Element not able to validate with the expression. I am trying to get text from the calculator app and its throwing me an error

“Verification failed. The output value of ‘OutUiElement’: ‘UiPath.Core.UiElement’ was not equal to the expected value ‘Standard’.”

Anyone help me on this issue please!

Hi @Umar_Farooq

It is something to do with the selectors. could you show the selector used?

Its not about selectors actually, I am trying to match the extracted text with the output element in Verify control attribute.

When You enable highlight, is it able to recognize that text?

Hi @Umar_Farooq


Please select text to verify

Hope this helps!

I am able to get the text from the extracted portion which is “Standard” but when trying to map it exactly with output elements that is where it says

Verification failed. The output value of ‘OutUiElement’: ‘UiPath.Core.UiElement’ was not equal to the expected value ‘Standard’.

Thanks Sanjay,

But I am looking to map extracted text with Verify Control Attribute activity - Output Element

How do I selected the “Text” instead on “Output Element”, by default when I drag “Use/application browser” verify control attribute is always has – Output Element

And just to add there is no problem highlighting the selected area. But only I need to match the Output element that’s where I am stuck

Hi @Umar_Farooq

@Sanjay_Bhat Solution could work. Observe that he has used the Verify Control Attribute inside the Use Application Activity, where as you have used it outside the use application

2 Likes

The error is because you’re likely trying to compare an UiElement (or a reference to the UI element itself) to a string value.

In the “Verify Control Attribute” activity, ensure you are selecting the correct attribute (like text or value) and compare it against your expected value.

1 Like

Thank you for time and assistance! Really appreciate!

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