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.

How to find a value of a cell using two near and one under condition

ernest.jebaernest.jeba Members
edited June 2012 in Sahi - Open Source
Hi,

If suppose a grid is there. I want to get a value of a cell which is near to two other cells and under a column and assign it to a variable. Since I want to do one computation using the variable.

I have tried using

var $d=_getText(_div("x-grid3-cell-inner x-grid3-col-6[9]"));
Its failing.

Response: "Error: The parameter passed to _getText was not found on the browser"

Can you guide me how to get

Comments

  • TheeranTheeran Members
    Hi Ernest.jeba,

    Try with

    var $d=_getText(_cell("cellId",_near("anyNearestCellId"),_under("columnId")));

    This might help you.

    Thanks,
    Theeran.
Sign In or Register to comment.