summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php
diff options
context:
space:
mode:
authorxue <>2006-04-07 03:46:10 +0000
committerxue <>2006-04-07 03:46:10 +0000
commit4226093cc034dfbd25a5b9e9aee2778e795ee42a (patch)
treefadba0312deb52211b71360977cdad992c07abc3 /tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php
parent123e74a758d84429f1a24e047f3b61e8ca0f6979 (diff)
Merge from 3.0 till 868.
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php')
-rw-r--r--tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php
index e29aabc8..9b6e98d2 100644
--- a/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php
+++ b/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php
@@ -19,7 +19,7 @@ class DataList2TestCase extends SeleniumTestCase
$this->verifyTextPresent("\$150", "");
// verify editting an item
- $this->clickAndWait("id=ctl0_body_DataList_ctl5_ctl4", "");
+ $this->clickAndWait("id=ctl0_body_DataList_ctl5_ctl0", "");
$this->type("ctl0\$body\$DataList\$ctl5\$ProductQuantity", "11");
$this->type("ctl0\$body\$DataList\$ctl5\$ProductPrice", "140.99");
$this->click("//input[@name='ctl0\$body\$DataList\$ctl5\$ProductImported' and @value='ctl0\$body\$DataList\$ctl5\$ProductImported']", "");
@@ -31,7 +31,7 @@ class DataList2TestCase extends SeleniumTestCase
$this->verifyTextPresent("11", "");
// verify editting another item
- $this->clickAndWait("id=ctl0_body_DataList_ctl3_ctl2", "");
+ $this->clickAndWait("id=ctl0_body_DataList_ctl3_ctl1", "");
$this->type("ctl0\$body\$DataList\$ctl3\$ProductName", "Hard Drive");
$this->type("ctl0\$body\$DataList\$ctl3\$ProductQuantity", "23");
$this->click("//input[@name='ctl0\$body\$DataList\$ctl3\$ProductImported' and @value='ctl0\$body\$DataList\$ctl3\$ProductImported']", "");
@@ -43,10 +43,10 @@ class DataList2TestCase extends SeleniumTestCase
$this->verifyTextPresent("Harddrive ", "");
// verify item deletion
- $this->clickAndWait("id=ctl0_body_DataList_ctl3_ctl5", "");
+ $this->clickAndWait("id=ctl0_body_DataList_ctl3_ctl1", "");
$this->verifyConfirmation("Are you sure?");
$this->chooseCancelOnNextConfirmation();
- $this->click("id=ctl0_body_DataList_ctl5_ctl3", "");
+ $this->click("id=ctl0_body_DataList_ctl5_ctl2", "");
$this->verifyConfirmation("Are you sure?");
$this->verifyTextPresent("Motherboard ", "");
$this->verifyTextPresent("CPU ", "");