Skip to main content

Hi team,

 

I have a requirement where I need to extract a tooltip data. Could someone help me how I achieve this.

 

for eaxample - you can try https://www.incometax.gov.in/iec/foportal

in the below image after late word nothing is appearing similar way in my application after certain word simply dots appearing and I need to pick all data from tooltip. how I can achevie this plez help

image 

@ChanduMohammad S​ @Khaled Mostafa​ @Ashwin A.K​ @Tamil Arasu​ 

@Paul Hawkins​ 

I am not expert in Javascript , is it something I can do using AA commands?


@Vikas Singh​  If you inspect the element in the browser, you will notice that the div value itself has been truncated, hence the ... added to it.

 

However, the tooltip itself seems to have all the text you need, stored in the div tags as the "attribute data-original-title"

 

It is this value you need to access.

 

You can use javascript to get the element and then extract the attribute value:

 

<element>.getAttribute("attribute data-original-title"))

 

 


Reply