From 9135d48138ec9ad769443bc95c8f98440398f7e1 Mon Sep 17 00:00:00 2001 From: "edburns%acm.org" Date: Thu, 15 Mar 2007 20:12:37 +0000 Subject: [PATCH] remove_j_id_ git-svn-id: svn://10.0.0.236/trunk@221930 18797224-902f-48f8-a5cc-f745e15eee43 --- .../classes_spec/org/mozilla/mcp/package.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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();
  •