diff options
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php')
-rw-r--r-- | tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php index 75f0ff30..4a42bf7b 100644 --- a/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php @@ -1,26 +1,26 @@ -<?php
-
-class DataList1TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataList.Sample1&notheme=true&lang=en", "");
-
- // verify if all required texts are present
- $this->verifyTextPresent('ITN001','');
- $this->verifyTextPresent('$100','');
- $this->verifyTextPresent('Motherboard','');
- $this->verifyTextPresent('ITN018','');
- $this->verifyTextPresent('Surge protector','');
- $this->verifyTextPresent('45','');
- $this->verifyTextPresent('$15','');
- $this->verifyTextPresent('Total 19 products.','');
- $this->verifyTextPresent('Computer Parts','');
-
- // verify specific table tags
- $this->verifyElementPresent("ctl0_body_DataList");
- $this->verifyElementPresent("//td[@align='right']");
- }
-}
-
+<?php + +class DataList1TestCase extends SeleniumTestCase +{ + function test() + { + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataList.Sample1&notheme=true&lang=en", ""); + + // verify if all required texts are present + $this->verifyTextPresent('ITN001',''); + $this->verifyTextPresent('$100',''); + $this->verifyTextPresent('Motherboard',''); + $this->verifyTextPresent('ITN018',''); + $this->verifyTextPresent('Surge protector',''); + $this->verifyTextPresent('45',''); + $this->verifyTextPresent('$15',''); + $this->verifyTextPresent('Total 19 products.',''); + $this->verifyTextPresent('Computer Parts',''); + + // verify specific table tags + $this->verifyElementPresent("ctl0_body_DataList"); + $this->verifyElementPresent("//td[@align='right']"); + } +} + ?>
\ No newline at end of file |