diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2013-09-30 14:43:26 +0200 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2013-09-30 14:43:26 +0200 |
commit | 4ef09ccaf27e31ac5112b2846c253a2877f8a520 (patch) | |
tree | 3579a98cb8884fbbc25efb9eb6295d4241dd8d05 /tests/FunctionalTests/quickstart/Controls/DataGrid4TestCase.php | |
parent | 6b73f119a4e12c8e4b09f95463eec9be7626dec5 (diff) |
Ported all the remaining quickstart functional tests
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls/DataGrid4TestCase.php')
-rwxr-xr-x | tests/FunctionalTests/quickstart/Controls/DataGrid4TestCase.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/DataGrid4TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataGrid4TestCase.php index 9a212dd8..702b997e 100755 --- a/tests/FunctionalTests/quickstart/Controls/DataGrid4TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataGrid4TestCase.php @@ -15,14 +15,14 @@ class QuickstartDataGrid4TestCase extends PradoGenericSeleniumTest // verify sorting $this->clickAndWait("link=Book Title", ""); - $this->verifyAttribute('ctl0_body_DataGrid_ctl1_ctl5@checked','regexp:false|null'); + $this->assertEquals($this->getEval('this.browserbot.findElement("ctl0_body_DataGrid_ctl1_ctl5").hasAttribute("checked")'), 'false'); $this->clickAndWait("link=Publisher", ""); - $this->verifyAttribute('ctl0_body_DataGrid_ctl6_ctl5@checked','regexp:false|null'); + $this->assertEquals($this->getEval('this.browserbot.findElement("ctl0_body_DataGrid_ctl6_ctl5").hasAttribute("checked")'), 'false'); $this->clickAndWait("link=Price", ""); - $this->verifyAttribute('ctl0_body_DataGrid_ctl2_ctl5@checked','regexp:false|null'); + $this->assertEquals($this->getEval('this.browserbot.findElement("ctl0_body_DataGrid_ctl2_ctl5").hasAttribute("checked")'), 'false'); $this->clickAndWait("link=In-stock", ""); - $this->verifyAttribute('ctl0_body_DataGrid_ctl1_ctl5@checked','regexp:false|null'); + $this->assertEquals($this->getEval('this.browserbot.findElement("ctl0_body_DataGrid_ctl1_ctl5").hasAttribute("checked")'), 'false'); $this->clickAndWait("link=Rating", ""); - $this->verifyAttribute('ctl0_body_DataGrid_ctl4_ctl5@checked','regexp:false|null'); + $this->assertEquals($this->getEval('this.browserbot.findElement("ctl0_body_DataGrid_ctl4_ctl5").hasAttribute("checked")'), 'false'); } } |