public void DoubleClickCell(int index) { var path = GetCellIndexPath(index); var go = _names[path]; var button = new UiTestDoubleClick(go); button.Use(); }
public void ClickCell(int index) { var path = ""; switch (_property) { case "parenthesis": path = GetCellIndexPath(index); break; case "low_line": path = GetItemIndexPath(index); break; } var go = _names[path]; IUiTestButton button = null; switch (_type) { case "up_down": button = new UiTestUpDownButton(go); break; case "button": button = new UiTestButton(go); break; case "pointer_button": button = new UiTestPointerButton(go); break; case "double_click": button = new UiTestDoubleClick(go); break; } button?.Use(); }