@Test public void setSliderValue() { Slider sliderNode = (Slider) getPrimaryStage().getScene().getRoot().lookup(".slider"); slider.marathon_select("25.0"); new Wait("Waiting for slider value to be set.") { @Override public boolean until() { return 25.0 == sliderNode.getValue(); } }; }
@Override public boolean marathon_select(String value) { ((Slider) node).setValue(Double.valueOf(Double.parseDouble(value))); return true; }
JavaFXSliderElement extends JavaFXElement { @Override public boolean marathon_select(String value) { ((Slider) node).setValue(Double.valueOf(Double.parseDouble(value))); return true; } }
JavaFXSliderElement extends JavaFXElement { @Override public boolean marathon_select(String value) { ((Slider) node).setValue(Double.valueOf(Double.parseDouble(value))); return true; } JavaFXSliderElement(Node component, IJavaFXAgent driver, JFXWindow window); }
JavaFXSliderElement extends JavaFXElement { @Override public boolean marathon_select(String value) { ((Slider) node).setValue(Double.valueOf(Double.parseDouble(value))); return true; } JavaFXSliderElement(Node component, IJavaFXAgent driver, JFXWindow window); @Override boolean marathon_select(String value); @Override String _getText(); }
JavaFXSliderElement extends JavaFXElement { @Override public boolean marathon_select(String value) { ((Slider) node).setValue(Double.valueOf(Double.parseDouble(value))); return true; } JavaFXSliderElement(Node component, IJavaFXAgent driver, JFXWindow window); @Override boolean marathon_select(String value); @Override String _getText(); static final Logger LOGGER; }