blob: 3b4d0ce90a016cef339065d76ae29d9dd7d7a5a1 (
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 PostLoadingTestCase extends SeleniumTestCase
{
function test()
{
$this->open('active-controls/index.php?page=PostLoadingTest');
$this->assertTextPresent('PostLoading Test');
$this->assertTextNotPresent('Hello World');
$this->click('div1');
$this->pause(800);
$this->type('MyTextBox', 'Hello World');
$this->click('MyButton');
$this->pause(800);
$this->assertTextPresent('Result is Hello World');
}
}
?>
|