Message: Could not find the user-interface (UI) element for this action

Hello All,

Just built my first robot and it worked well along with dropdown selection.
Then I tried to add more rows and then use Each Row function in Excel to get results for all rows. It works for first row but then the Get Text activity is not able to get the unicorn name generated from the second row. I used the following combination for the Get Text.

Error:
Source: Get Text ‘DIV’
Message: Could not find the user-interface (UI) element for this action.

Capture

Let me know if anyone tried a different combination for Get Text to get Unicorn Name and it worked for multiple rows.

Hi @vishalpallerla,

could you please click on “Edit target” in the get text activity

image

Then select the target and click on the little cogwheel and post a screenshot of the values seen on the left.

I just tried it and for me it works with multiple different names - also please check the properties of your UseBrowser activity so that IE is not closed or opened again when you go to the next row

1 Like

Hi @FrankSchikora ,

Thanks for your response. PFA screenshot of values.

I am using Chrome and it is not closed for each row.

@vishalpallerla - can you try and reindicate the lable for the name? So not “Your Unicorn Name” but rather the text below we want to read out.

image

I just tried that and it doesn’t need an anchor for me - the automation works in chrome with an for each without a problem

I’m having the same error, even for single column, I don’t know how to resolve

Thanks @FrankSchikora, Finally it worked when I selected the result but the complete label rather than just the place where result is displayed.

Thank you so much for your help :slight_smile:

Hi @lindakovacs,

Are you using extended screens(extra monitors) by any chance and trying to do this on a different screen than laptop screen? I am using extended screens and could not indicate the elements with that. Then I opened moved my browser window and UiPath StudioX window to the laptop screen which and when I was able to indicate the element properly and it showed Confirm option.

Hope this helps.

1 Like

Yes, I’m using extended monitors and I tried your solution moving my browser and StudioX in my laptop but didn’t work. I’m wondering if there is an issue with using virtual box with win in a mac and can’t understand where I’m clicking or something like that. Thank you

Is there a way for someone to show my screen and try to troubleshoot this issue so I can move further? And how do I do that? Thank you

I am sorry @lindakovacs as that doesn’t resolve the issue. I am not sure about issues with virtual box as I haven’t used it. Someone who uses virtual box might be able to answer better.

@FrankSchikora Can you please help @lindakovacs resolve her issue ?

1 Like

Thank you so much for following up with my issue. I didn’t realize I knew you until you wrote me on LinkedIn. I will share with you my screen when you get a chance to see what we can come up with. I tried several things today with no luck. In meantime I’m watching the videos to learn the curriculum. Thanks again.

hi vishal, what do you mean by “I selected the result but the complete label rather than just the place where result is displayed”?

1 Like

Hey Llinda, what type of error do you get?

1 Like

Hi @Cosin,

I meant as shown here:

It is working in Windows Parallels but not in the Virtualbox. Luckily I have an old PC with Parallels in it but in the new one I have only Virtualbox. Problem solved Yayyyy!!! How do I close the issue in the Forum?

It is working in Windows Parallels but not in the Virtualbox. Problem solved Yayyyy!!!

2 Likes

I am stuck in the last step - get text activity - of the first robot . When I tried to indicate screen element - I am unable to choose unicorn name target and anchor - also F3 button is disabled - how to select the target in this case
image

1 Like

I had same issue but in my case was due to the fact that I was using Virtualbox in Mac. It works only in Windows Parallel in Mac. I’m not sure what could be in your case.