Problem with Get text CV in assignment no.2

Hi all,
i’m working with assignment no.2, performer, in academy, i’ll do everything with google chrome and not with internet explorer like the assignment.
So far so good, but now, when i use the get text activity, don’t recognize the element, only when pop up appear, also everything is fine and CV is ok.
How can i fix it?
Thx

1 Like

Hi @andreus91

Try and just use IEexplorer

Cheers!

1 Like

No possible to fix it with chrome?

Hi @andreus91

Chrome is not suitable for many activities. So you can try with IE.

But if you still want to try it with get text activity on Chrome, then after clicking Indicate on screen press F3 once area is available to highlight. This will allow you to get the region.

Thanks,
Shenki

1 Like

@andreus91

Uipath recommend to use IE browser to automate ACME site and also BOT can easily identify elements.

Else if you want to use Chrome browser only then you can go for Image activities or Computer Vision activities to handle this kind of pop up’s.

1 Like

Thanks for reply, now i’ve switched all my project in IExplorer, works fine, except for Get text activity, at first run work, but sometimes the pop up who appear is different, so i’ve done an element exist activity with two generic get text. But still not working.


Thanks in advice

1 Like

Better use get attribute, I am not sure but get text will look for a ‘text’ attribute precisely which might not exist at all at times.

Check and get back. (Attribute is most of the time housed in ‘innertext’ or ‘aaname’ or ‘text’ try all three and see the result.)

1 Like


Still the same, what i’m wrong?

@Raghavendraprasad in output i’ve created my string variable, but in input?

Well can you show me the activity what you have chosen and the selector

1 Like


Selector with wildcard but in input?

In the get attribute activity itself there is an attribute selector give any one of the three I mentioned above in a test file and check for the value :slight_smile:

1 Like

Hi @andreus91,

To handle two different type of popups use dynamic selector as a easy solution. With dynamic selector you work on both type of popups.

I have used below in my code and it work well for both popups.

image

Hope this will help.

Thanks,
Shenki

1 Like

Hi @andreus91

If it resolved your query then please mark it as solution.

Thanks

Hi! @ShenkiSinghai
I just tried and it works! Thanks :smiley: a question for you, if i want to study how the selector work (for example you tell me to take off idx or other attributes) where or what language you advise me to study? Thx

@Raghavendraprasad Thanks to you too! I’ll even try this solution and tell you if I will be able to
make it work :wink:

That’s great.

I will just only suggest you to go through basics of HTML for selectors. Also at last practice will make you more perfect, when you see such issues with your elements then try to collect the selectors for elements and see the difference what’s wrong. You will see some differences, like in this case if you try to capture the selector of these popup elements you will see class and other attributes are changing for different popups.

So just keep practicing.

1 Like

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