Esempio n. 1
0
  public boolean doWorkspaceNavigator(String foldername, String profiletype, boolean state) {
    // beging state should be set true

    if (state) {

    } else {
      GuiSubitemTestObject table = DOF.getTable(DOF.getRoot());
      int rowIndex = TableHelper.getRowIndexOfRecordInColumn(table, "Folder", foldername);
      // xuan option>>>>>>>>
      DOF.getRadioButton(DOF.getActiveDialog(), "On de&mand").click();
      // <<<<<<<<<<<
    }
    return state;
  }
Esempio n. 2
0
  public boolean dofeature(String featurename, String profiletype, boolean state) {

    // beging state should be set true
    if (state) {

    } else {
      GuiSubitemTestObject table =
          DOF.getTableByColumnsNames(
              DOF.getDualHeadersTable(DOF.getRoot()),
              new String[] {"Feature", "Basic Profile", "Advanced Profile"});
      System.out.println("table :" + table.getParent());
      // need to get table..............................
      //			GuiSubitemTestObject table = DOF.getTable(DOF.getRoot());
      int rowIndex = TableHelper.getRowIndexOfRecordInColumn(table, "Feature", "Cache");

      System.out.println("rowindex = " + rowIndex);
      // xuan option>>>>>>>>

      //			DOF.getRadioButton(DOF.getActiveDialog(), "On de&mand").click();

      // <<<<<<<<<<<
    }
    return state;
  }