I am not getting any value from get text activity? I have tried a log message but it’s not printing any value. It returns empty value.
Hi
make sure you have the valid selector
try to reindicate if required
Wait for page load - have this property as Complete and try again
Cheers @samraat_maharjan2
Welcome to UiPath community
Check your Selector
: The most common reason for Get Text not working is an incorrect or unstable selector. Ensure that the selector accurately identifies the element you want to extract text from.
Use the UiExplorer to validate and fine-tune the selector.
-
Check if the webpage has been load properly before Get text action processed.
-
try with some Dealy before the get text action
Regards
Gokul
yeah its a property, it differs with name alone between windows legacy and cross platform
@samraat_maharjan2
I am trying to get value using get text from Response. But I either get null value or error while trying to fetch value from “Reponse” @Palaniyappan @Gokul001
Hello @samraat_maharjan2
-
Attach Browser - Open the web page or application where you want to extract text.
-
Get Text - Extract text from the target element.
- Selector: Specify the selector for the target element
- Output: Create a string variable, e.g., extractedText
-
If - Check if the extractedText is not empty.
Inside the If block:
4. Log Message - Print the extracted text to the output.- Message: "Extracted Text: " + extractedText
-
Close Browser - Close the browser session when done.
Thanks & Cheers!!!
No, I haven’t tried. Do you mean screen recording?
Try using Get OCR Text activity.
Please check the thread attached may work.
UIPath - Unable to get Text from UI - Stack Overflow
Regards,
Latika