use the Hover activity to move the mouse over the element, then add a Delay to allow the tooltip to appear, and finally use the Get Text activity to capture the tooltip text. If the tooltip disappears too quickly, consider using a Click activity on the base element to keep the tooltip visible while retrieving the text.
Hi @pd2897,
If its web based application try to change the CSS property to visible the tool tip value and get the selector.
Its bit hard to get the selector but you can able to get the selector. later you can use move cursor activity to view the tooltip value and using get text activity you can able to get the value.
As you mentioned, I added a duration. However, even when we use the “Get Text” activity, we still need to highlight the tooltip text, right? Since the tooltip text disappears, how can we select the tooltip text?
Please try - Instead of using Get Text , use the Get Attribute activity to retrieve the tooltip text directly from the element’s attributes, such as title or data-tooltip . Might be this method can often bypass the issue of the tooltip disappearing.
Try OCR:
start by hovering over the target element, which will trigger the tooltip to appear. After hovering, introduce a delay of 2-3 seconds to ensure the tooltip is fully visible. Once the tooltip is displayed, use Optical Character Recognition (OCR) technology to capture the text within the tooltip. Finally, utilize the captured text for your intended actions.
happy Automation