How to check whether the Ui Element is expand or not

Hello All,

I want to check whether the Ui Elelemnt is expanded or not . I used element exist then click but sometimes it does not work. I need to check whether contract information is expanded if not click and expand . If already expanded capture the start date. If I use element exist nt and then click at times its not working. Its not able to click and expand. How to check whether the element is expanded or not

use check app state activity to look for start date element

in target appears branch you can use next extraction of data activities

on Target does not appear - you give click and remaining actions data extractions

Regards

Hi @dutta.marina

you can use the “Get Attribute” activity to retrieve the value of the attribute that indicates the element’s expanded state.

check if the attribute value indicates that the element is expanded or not.

For example, you can use an expression like attributeValue = "true" or attributeValue.Contains("expanded")

Thanks!!

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