How check ui element ?/


i need to click the view icone if open image if not able to see view icon show message box

Hi @domsmgtmeet22

Do you want to check each View box or any specific view box.

each view box click another text show show message box

In my understanding, it has to go through each and every view box, if view box exists then it has to if not then message box has to be displayed… @domsmgtmeet22

If my understanding is correct, then follow the steps,
→ Use the For each Ui element activity and indicate on the first view box it will automatically identify all. Output of For each Ui element activity is CurrentElement and CurrentElement_Label.
→ Inside For each Ui element activity insert an If activity and give the below condition,

CurrentElement_Label.toString.tolower.equals("view")

→ Inside then block insert the click activity, open it properties panel find out the Input element field pass the CurrentElement to it.
→ In else block insert a message box to show message.

Hope it helps!!

single view box how to work

If the view boxes are keep changing follow the steps mentioned in the above post by using For each Ui element activity… @domsmgtmeet22

If every time you want to check only one check box, then check the below steps,
→ Use the Get Text activity and indicate the Ui element means view box and indicate the anchor to the Ui element which is closer to the Target element and it has to be unique.
→ Create a variable called Output_Text to the output of Get Text activity and go to properties panel of Get Text activity and find out the Output Element field create a variable in that field called Element_Out.
→ After Get Text activity insert the If activity and give the below condition,

- Condition -> Output_Text.toString.tolower.equals("view")

→ Inside then block insert click activity then open the properties panel, pass the Element_Out to the Input element.
→ Inside else block insert the Message box to display the message.

Hope it helps!!

is not working share another method

what you have did… @domsmgtmeet22

Can you show your workflow are you checking with only one view box or multiple view boxes…?