blob: 271a2ffbe94d29f69a6096ab41bffc94fb9e8202 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
class PostLoadingTestCase extends PradoGenericSelenium2Test
{
function test()
{
$base="ctl0_Content_";
$this->url('active-controls/index.php?page=PostLoadingTest');
$this->assertContains('PostLoading Test', $this->source());
$this->assertNotContains('Hello World', $this->source());
$this->byId('div1')->click();
$this->pause(800);
$this->type("{$base}MyTextBox", 'Hello World');
$this->byId("{$base}MyButton")->click();
$this->pause(800);
$this->assertContains('Result is Hello World', $this->source());
}
}
|