How to read text which is visible only by mouse hover in sikuli

Asked by saranya on 2019-10-15

Hi Raiman,

I need to validate a text, and that text is visible only by hovering the mouse over image.

Could you please let me know how it could be achieved using sikuli

Thanks,
Saranya

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
saranya
Solved:
2019-10-16
Last query:
2019-10-16
Last reply:
2019-10-15
RaiMan (raimund-hocke) said : #1

# define the region, that contains the text
textRegion = .... # absolute or relative
#hover over the region
textRegion.hover()
# here a short wait might be needed
# read the contained text
hoverText = textRegion.text()

saranya (saranyachuppala) said : #2

Thanks Raiman, for quick responsee... Its working