diff options
author | xue <> | 2007-02-05 22:39:56 +0000 |
---|---|---|
committer | xue <> | 2007-02-05 22:39:56 +0000 |
commit | 2fbf5192a27fa9f7680fdc6b8b8fc54a3638d50f (patch) | |
tree | 812ebea731ae50d373e764af86df2b307da53c96 /tests/FunctionalTests/quickstart/Controls/DataGrid2TestCase.php | |
parent | 81b323cf3d27949a5c78d44bd016044be3197b6c (diff) |
fixed test cases for datagrid.
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls/DataGrid2TestCase.php')
-rw-r--r-- | tests/FunctionalTests/quickstart/Controls/DataGrid2TestCase.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/DataGrid2TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataGrid2TestCase.php index 919200ff..ae810bdc 100644 --- a/tests/FunctionalTests/quickstart/Controls/DataGrid2TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataGrid2TestCase.php @@ -26,11 +26,11 @@ class DataGrid2TestCase extends SeleniumTestCase $this->verifyTextPresent("\$38.49",'');
// verify in-stock
- $this->verifyAttribute('ctl0_body_DataGrid_ctl1_ctl6@checked','regexp:true|checked');
- $this->verifyAttribute('ctl0_body_DataGrid_ctl1_ctl6@disabled','regexp:true|disabled');
- $this->verifyAttribute('ctl0_body_DataGrid_ctl2_ctl6@checked','regexp:true|checked');
- $this->verifyAttribute('ctl0_body_DataGrid_ctl6_ctl6@checked','regexp:false|null');
- $this->verifyAttribute('ctl0_body_DataGrid_ctl6_ctl6@disabled','regexp:true|disabled');
+ $this->verifyAttribute('ctl0_body_DataGrid_ctl1_ctl5@checked','regexp:true|checked');
+ $this->verifyAttribute('ctl0_body_DataGrid_ctl1_ctl5@disabled','regexp:true|disabled');
+ $this->verifyAttribute('ctl0_body_DataGrid_ctl2_ctl5@checked','regexp:true|checked');
+ $this->verifyAttribute('ctl0_body_DataGrid_ctl6_ctl5@checked','regexp:false|null');
+ $this->verifyAttribute('ctl0_body_DataGrid_ctl6_ctl5@disabled','regexp:true|disabled');
// verify ratings
//$this->verifyElementPresent("//img[@src='images/star5.gif']",'');
@@ -40,9 +40,9 @@ class DataGrid2TestCase extends SeleniumTestCase $this->clickAndWait("//input[@name='ctl0\$body\$ctl1\$c0' and @value='Book Title']", "");
$this->verifyTextNotPresent('Head First Design Patterns','');
$this->clickAndWait("//input[@name='ctl0\$body\$ctl1\$c3' and @value='In-stock']", "");
- $this->verifyElementNotPresent('ctl0_body_DataGrid_ctl1_ctl6','');
+ $this->verifyElementNotPresent('ctl0_body_DataGrid_ctl1_ctl5','');
$this->clickAndWait("//input[@name='ctl0\$body\$ctl1\$c3' and @value='In-stock']", "");
- $this->verifyElementPresent('ctl0_body_DataGrid_ctl1_ctl6','');
+ $this->verifyElementPresent('ctl0_body_DataGrid_ctl1_ctl5','');
$this->clickAndWait("//input[@name='ctl0\$body\$ctl1\$c0' and @value='Book Title']", "");
$this->verifyTextPresent('Head First Design Patterns','');
}
|