2 thoughts on “Selenium testing RichFaces comboBox controls”

  1. I faced the same problem today. However the above solution did not work for me. I guess the reason is a different richFaces version (3.3.1 in my case). However I could beat the comboBox the following way:

    selenium.type(myRichComboField, versichererTiere);
    selenium.fireEvent(myRichComboField, “keyup”);

  2. This worked for me:

    String inputField = caption + \comboboxField\;
    selenium.windowFocus();
    selenium.focus(inputField);
    selenium.type(inputField, text);
    selenium.fireEvent(inputField, \keyup\);
    selenium.keyPressNative(\\+KeyEvent.VK_ENTER);

    we also figured out how to check the content of an ajax-reRendered comboBox.
    Let me know if you need it: empinator a gmail com

Comments are closed.