18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

getText value on a table cell that has a 'hover over'

pbpb Members
edited November -1 in Sahi - Open Source
Hi,
When trying to use _getText on a table cell that has a hover over, or tooltip, the text is the contents of the cell + the tooltip. Is there anyway just to get the cell text??

I am using: _getText(_cell(_table(0), 1, 2))

Thanks.

Comments

  • Did you check the page code and see if the cell text is in a span or div or has an ID?

    It sounds to me like all the code is jammed in the same cell with delimiters.

    If that's the case, you'll probably have to use some RegEx to extract it.
  • Hi,

    If you can post the piece of source code for the table cell we will be in a better position to resolve the problem.

    Regards,
    Pankaj.
Sign In or Register to comment.