public boolean isRowPresent ( String searchElement ) { ready ( ) ; boolean found ; GridCell cell = getCell ( searchElement ) ; // scrollTop(); // make sure always start from top then scroll down till the end of the page // do { // if the row is not in visible (need to scroll down - errors when used BufferView in grid) found = cell . isElementPresent ( ) ; // } while(!found && scrollPageDown()); return found ; }
returns if a grid contains a certain element