Ejemplo n.º 1
0
  @Test
  public void getsTextCellBasedOnRowNumberColumnText() throws Exception {
    bot.checkBox("Multiple Columns").select();
    tree = bot.treeInGroup("Tree");

    assertEquals("2556", tree.cell(1, "Size"));
    assertEquals("Node 2", tree.cell(1, "Name"));
    assertEquals("today", tree.cell(3, "Modified"));
  }
Ejemplo n.º 2
0
  @Test
  public void getsColumnTextBasedOnRowColumnNumbers() throws Exception {
    bot.checkBox("Multiple Columns").select();
    tree = bot.treeInGroup("Tree");

    assertEquals("2556", tree.cell(1, 2));
    assertEquals("Node 2", tree.cell(1, 0));
    assertEquals("today", tree.cell(3, 3));
  }