protected void checkWidgetVisibleAndEnable(FocusWidget widget, String objectLocalization) { Assert.assertTrue( csvRunner.getAssertionErrorMessagePrefix() + "Widget have to be enabled : " + objectLocalization, widget.isEnabled()); checkWidgetVisible(widget, objectLocalization); }
public void isNotEnabled(String objectLocalization) { FocusWidget button = getFocusWidget(objectLocalization); Assert.assertFalse( csvRunner.getAssertionErrorMessagePrefix() + "is Enabled " + objectLocalization, button.isEnabled()); }