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.

I want to click on whatever the image is that appears in a cell

DougStevensDougStevens Members
edited November -1 in Sahi - Open Source
When I evaluate the expression _cell(_table(36),1,12), it does highlight the last cell of the first row as expected. However, when I alter to _image(_cell(_table(36),1,12) it does not highlight the image within the cell. Am I missing something?

Comments

  • narayannarayan Administrators
    Hi Doug,

    To get to the image inside the cell, use


    _image(0, _in(_cell(_table(36),1,12)))

    This translates to "the first image inside cell". (indexes start from 0)

    Regards,
    Narayan
  • That worked great thanks
This discussion has been closed.