public void ClickOnCell(string column) { AppiumWebElement cell = _table.FindElementByName(column); SetCellVisible(cell); cell.ClickAction(); }
/// <summary> /// Do one click on the row /// Row number starts with 1 /// </summary> /// <param name="row">Row number</param> public void ClickOnRow(int row) { AppiumWebElement cell = _table.FindElementByName("Row " + row); SetCellVisible(cell); cell.ClickAction(); }
/// <summary> /// Do multiple select /// Click on all row. /// </summary> public void SelectAllRows() { AppiumWebElement cell = _table.FindElementByName("Row " + 1); SetCellVisible(cell); cell.ClickAction(); cell.SendKeys(Keys.Control + "a"); }
/// <summary> /// Do one click on cell /// </summary> /// <param name="column">Column number</param> /// <param name="row">Row number</param> public void ClickOnCell(string column, int row) { AppiumWebElement headerCell = _table.FindElementByName(column); SetCellVisible(headerCell); AppiumWebElement cell = _table.FindElementByName(column + " row " + row); cell.ClickAction(); }