cancel
Showing results for 
Search instead for 
Did you mean: 

How to get title of a HTML Element

Anonymous
Not applicable
I am facing challenge where I have to get the text from the tool tip when I am hovering mouse over a html element. I tried spying using html and AA mode but I am not getting the title(tooltip text) of the HTML element.
1 REPLY 1

ivan.gordeyev
Level 5
There are two ways described here, how you can do it. First, identify the element and then use 'Read' stage with 'Get HTML Attribute' with the Attribute Name as 'Title' The second method is to get HTML code with Blue Prism by selecting 'Read' action using 'Get HTML'. From this, you will need to extract the 'title=' value for your HTML element. To access the HTML code you can usually right click on the page and selecting 'View Sources' or, often just press F12. Find the field that you are working with and read 'title=' value from the code of your HTML element. Please be aware that some tool tip can be provided by the application itself, in this case, these cannot be found in HTML code (e.g. word translation etc)