blob: 9cde186a77e78b4c82c1cca8bb513e25f6febad8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
class CustomTemplateTestCase extends SeleniumTestCase
{
function test()
{
$this->open('active-controls/index.php?page=CustomTemplateControlTest');
$this->assertTextPresent('Add Dynamic Custom TTemplateControl Test');
$this->assertText('label1', 'Label 1');
$this->type('foo', 'Foo Bar!');
$this->click('button2');
$this->pause(800);
$this->assertVisible('ctl1_ThePanel');
$this->assertTextPresent('Client ID: ctl1_ThePanel');
$this->assertText('label1', 'Button 1 was clicked Foo Bar! using callback!... and this is the textbox text: Foo Bar!');
}
}
?>
|