Get Text Fail

Hi

Please helpppppp!

I tried Get Text to get the sentence highlighted in Green, but it was unsuccesful. The best chance for me to get that sentense is to use Copy Selected Text but how do i automate the highlight?

@Joanna2

Try using get visible text instead of get text

I hope the selector you are using is correct

Cheers

Hi, Tried but it didnt work.

@Joanna2

Can you please help on how to land on this page you are seeing from the url you provided…then I can check from my side

Cheers

Hi @Joanna2

In Get text activity properties, try by changing the Scraping methods.
Make sure to give the anchor to the UI element which closer to the scraping UI Element.
image

Hope it helps!!

Hi @Joanna2

I have try to extract the data that you marked in the provided website. I have attached the sequence, check it once, I didn’t changed anything.

I have extracted and printed in the message box. Check the below screenshot for that,

Hope it helps!!

Hi @Joanna2 ,

Please use “Get full text” to extract the same.
Below is the screenshot for your reference.

Regards,
Ashutosh gupta

Hi @Ashutosh.Gupta,

Im getting this message though…

If the specific selector is not working for you then try the below selector.

<html app='chrome.exe' title='VirusTotal*' />
<webctrl tag='URL-VIEW' />
<webctrl shadowhostid='' tag='VT-UI-URL-CARD' />
<webctrl shadowhostid='' tag='DIV' parentid='report' />

this will extract the entire box part like written below,

No security vendors flagged this URL as malicious Learn how to retrieve this report’s information automatically via API Reanalyse URL Explore in VirusTotal Graph Search for URL in VirusTotal Intelligence The URL analysis is in progress, you will not see live updates, the results will appear all at once in at most 60 seconds. http://google.com/ google.com 200 Status Content Type 2023-05-17 07:43:46 UTC

Later you can use string manipulation (Substring/split) to remove non bold part from it.

Regards,
Ashutosh Gupta

@Joanna2

Use the below selector with get attribute activity and get the innertext Attribute and you woudl get the required string

SyntaxEditor Code Snippet


<html app='chrome.exe' title='VirusTotal - *' /> 
<webctrl tag='URL-VIEW' /> 
<webctrl shadowhostid='' tag='VT-UI-GENERIC-CARD' /> 
<webctrl shadowhostid='' tag='P' />

Hope this helps

cheers

Hi @Ashutosh.Gupta

Tried that but didn’t work as well. Not sure if it’s the environment of my company.
I tried on my personal laptop, it’s working fine.

Regards
Joanna

@Joanna2

Is chrome extension installed properlt in the system
Youa re trying ?

Cheers

Hi @Anil_G

Yes. i have the latest “UiPath Browser Automation 23.4”

Hi @Joanna2 ,

Could you please share the selectors of that activity?

Regards