diff options
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls/DataGrid1TestCase.php')
-rw-r--r-- | tests/FunctionalTests/quickstart/Controls/DataGrid1TestCase.php | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/DataGrid1TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataGrid1TestCase.php index 41bb754b..9eea13b8 100644 --- a/tests/FunctionalTests/quickstart/Controls/DataGrid1TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataGrid1TestCase.php @@ -1,31 +1,31 @@ -<?php
-
-class DataGrid1TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataGrid.Sample1&notheme=true&lang=en", "");
-
- // verify if all required texts are present
- $this->verifyTextPresent('id','');
- $this->verifyTextPresent('name','');
- $this->verifyTextPresent('quantity','');
- $this->verifyTextPresent('price','');
- $this->verifyTextPresent('imported','');
- $this->verifyTextPresent('ITN001','');
- $this->verifyTextPresent('Motherboard','');
- $this->verifyTextPresent('100','');
- $this->verifyTextPresent('true','');
- $this->verifyTextPresent('ITN019','');
- $this->verifyTextPresent('Speaker','');
- $this->verifyTextPresent('35','');
- $this->verifyTextPresent('65','');
- $this->verifyTextPresent('false','');
-
- // verify specific table tags
- $this->verifyElementPresent("ctl0_body_DataGrid");
- $this->verifyAttribute("ctl0_body_DataGrid@cellpadding","2");
- }
-}
-
+<?php + +class DataGrid1TestCase extends SeleniumTestCase +{ + function test() + { + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataGrid.Sample1&notheme=true&lang=en", ""); + + // verify if all required texts are present + $this->verifyTextPresent('id',''); + $this->verifyTextPresent('name',''); + $this->verifyTextPresent('quantity',''); + $this->verifyTextPresent('price',''); + $this->verifyTextPresent('imported',''); + $this->verifyTextPresent('ITN001',''); + $this->verifyTextPresent('Motherboard',''); + $this->verifyTextPresent('100',''); + $this->verifyTextPresent('true',''); + $this->verifyTextPresent('ITN019',''); + $this->verifyTextPresent('Speaker',''); + $this->verifyTextPresent('35',''); + $this->verifyTextPresent('65',''); + $this->verifyTextPresent('false',''); + + // verify specific table tags + $this->verifyElementPresent("ctl0_body_DataGrid"); + $this->verifyAttribute("ctl0_body_DataGrid@cellpadding","2"); + } +} + ?>
\ No newline at end of file |