title: Codename One - clickButtonByLabel("OK");
body: <p>The following test runs well in the Simulator. On an Android device, instead, it seems to stop before the first <code>clickButtonByLabel("OK")</code>: I mean that <code>clickButtonByLabel("English")</code> is executed, after that the picker is opened, but the "ok" button of the picker is not clicked (on a real Android device, instead in the simulator is clicked). The <code>waitForUnnamedForm();</code> is inserted by the Test Recorder, I guess that is the wait for the picker form.</p>
  
  <p>The fact that in the picker the default value is selected (because no other one is selected) is intentional.</p>
  
  <p>What's wrong?</p>
  
  <pre><code>public class ChangeLanguage extends AbstractTest {
      public boolean runTest() throws Exception {
          waitForFormName("Login-Form");
          clickButtonByLabel("English");
          waitForUnnamedForm();
          clickButtonByLabel("OK");
          waitFor(1000);
          waitForFormName("Login-Form");
          assertLabel("Different language? Select:");
          clickButtonByLabel("English");
          waitForUnnamedForm();
          selectInList(new int[]{0}, 3);
          clickButtonByLabel("OK");
          waitFor(1000);
          waitForFormName("Login-Form");
          return true;
      }
  }
  </code></pre>