diff --git a/mozilla/java/webclient/classes_spec/org/mozilla/mcp/package.html b/mozilla/java/webclient/classes_spec/org/mozilla/mcp/package.html index b0e06745a72..6f2adedf874 100755 --- a/mozilla/java/webclient/classes_spec/org/mozilla/mcp/package.html +++ b/mozilla/java/webclient/classes_spec/org/mozilla/mcp/package.html @@ -164,11 +164,11 @@ Faces for Ajax.

  •     // Load the main page of the app
  •     mcp.blockingLoad("http://javaserver.org/jsf-ajax-cardemo/faces/chooseLocale.jsp");
  •     // Choose the "German" language button
  • -
  •     mcp.blockingClickElement("j_id_id73:Germany");
  • +
  •     mcp.blockingClickElement("Germany");
  •     // Choose the roadster
  • -
  •     mcp.blockingClickElement("j_id_id18:j_id_id43");
  • +
  •     mcp.blockingClickElement("roadsterButton");
  •     // Sample the Basis-Preis and Ihr Preis before the ajax transaction
  • -
  •     Element pricePanel = mcp.findElement("j_id_id10:zone1");
  • +
  •     Element pricePanel = mcp.findElement("zone1");
  •     assertNotNull(pricePanel);
  •     String pricePanelText = pricePanel.getTextContent();
  •    
  • @@ -178,7 +178,7 @@ Faces for Ajax.

  •    
  •     // Choose the "Tempomat" checkbox
  •     bitSet.clear();
  • -
  •     mcp.clickElement("j_id_id10:j_id_id63j_id_1");
  • +
  •     mcp.clickElement("cruiseControlCheckbox");
  •    
  •     while (!bitSet.get(TestFeature.STOP_WAITING.ordinal())) {
  •         Thread.currentThread().sleep(5000);
  • @@ -193,7 +193,7 @@ Faces for Ajax.

  •     bitSet.clear();
  •    
  •     // Sample the Basis-Preis and Ihr-Preis after the ajax transaction
  • -
  •     pricePanel = mcp.findElement("j_id_id10:zone1");
  • +
  •     pricePanel = mcp.findElement("zone1");
  •     assertNotNull(pricePanel);
  •     pricePanelText = pricePanel.getTextContent();
  •