testAppFunctionalPage("/components/datechooser/dateChooserStyling.jsf");
if (makeSubmit) {
element("formID:submit").clickAndWait();
}
DateChooserInspector dateChooser = dateChooser("formID:styled");
ElementInspector button = dateChooser.button();
// CalendarInspector calendarInspector = dateChooser.calendar();
InputInspector field = dateChooser.field();
element("formID:makeDisabled").clickAndWait();
sleep(500);
// disabledButtonImageUrl="../dropdown/dropdown_arrow_disabled.gif"
button.childNodes().get(0).assertAttributeStartsWith("src", "../dropdown/dropdown_arrow_disabled.gif");
// disabledButtonStyle="background: pink;"
button.assertStyle("background: pink");
// disabledFieldStyle="background: yellow; border: 2px solid green;"
field.assertStyle("border: 2px solid green; background: yellow");
// disabledStyle="width: 400px;"
dateChooser.assertWidth(400);
}