blob: 4a42bf7bc98b85dfb5b9781f4a9f1c8050cd8c0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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']");
}
}
?>
|