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.

_byId & _GetText issue

Bluepma38Bluepma38 Members
edited February 2011 in Sahi - Open Source
I'm trying to get the text within a cell but I can only find this cell on the page via _byId since the cell name changes each test run. Here is a snippet of what I'm doing, can anyone help me pull the text out of the cell successfully?

var $text = _getText(_byId("release_notes_data"));
_log($text);

current output:

_log(_getText(_byId("release_notes_data")));

expected output:

_log("This is the text in my cell.");




Thanks.

Comments

This discussion has been closed.