/** * A convenience method to select multiple options for the <code>FormComponent</code>. The * method only support multiple selectable <code>FormComponent</code>s. * * @see #select(String, int) * * @param formComponentId * relative path (from <code>Form</code>) to the selectable * <code>FormComponent</code> * @param indexes * index of the selectable option, starting from 0 * @return This */ public FormTester selectMultiple(String formComponentId, int[] indexes) { return selectMultiple(formComponentId, indexes, false); }
/** * A convenience method to select multiple options for the <code>FormComponent</code>. The * method only support multiple selectable <code>FormComponent</code>s. * * @see #select(String, int) * * @param formComponentId * relative path (from <code>Form</code>) to the selectable * <code>FormComponent</code> * @param indexes * index of the selectable option, starting from 0 * @return This */ public FormTester selectMultiple(String formComponentId, int[] indexes) { return selectMultiple(formComponentId, indexes, false); }
/** * A convenience method to select multiple options for the <code>FormComponent</code>. The * method only support multiple selectable <code>FormComponent</code>s. * * @see #select(String, int) * * @param formComponentId * relative path (from <code>Form</code>) to the selectable * <code>FormComponent</code> * @param indexes * index of the selectable option, starting from 0 */ public void selectMultiple(String formComponentId, int[] indexes) { selectMultiple(formComponentId, indexes, false); }
@Override public FormTester selectMultiple(String formComponentId, int[] indexes, boolean replace) { String formRelativeComponentId = getFormRelativeComponentId(formComponentId); return super.selectMultiple(formRelativeComponentId, indexes, replace); }
@Override public FormTester selectMultiple(String formComponentId, int[] indexes) { String formRelativeComponentId = getFormRelativeComponentId(formComponentId); return super.selectMultiple(formRelativeComponentId, indexes); }