From f5e5fddf2b624ba00933b7d22724be1e80741cb2 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 14 Feb 2006 02:29:31 +0000 Subject: Added datalist FT. --- .../quickstart/Controls/DataList1TestCase.php | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php (limited to 'tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php') diff --git a/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php new file mode 100644 index 00000000..ef61b13f --- /dev/null +++ b/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php @@ -0,0 +1,26 @@ +open("../../demos/quickstart/index.php?page=Controls.Samples.TDataList.Sample1&notheme=true", ""); + + // 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 -- cgit v1.2.3