blob: 0cf7d9273f7060ecb50e4827afd44f8ee09bc7ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
class ActiveControlExpressionTagTestCase extends SeleniumTestCase
{
function test()
{
$this->open('active-controls/index.php?page=ActiveControlExpressionTag');
$this->assertTextPresent('Active Control With Expression Tag Test');
$this->assertTextNotPresent('Text box content:');
$this->type('textbox1', 'Hello world');
$this->click('button1');
$this->pause(800);
$this->assertText('repeats', 'result - 1 result - two');
$this->assertText('contents', 'Text box content: Hello world');
}
}
?>
|