summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php
blob: 99f21585566b4543cd666a22650e40a32912ce55 (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->assertTextPresent('PostLoading Test');

		$this->assertTextNotPresent('Hello World');

		$this->click('div1');
		$this->pause(800);
		$this->type("{$base}MyTextBox", 'Hello World');
		$this->click("{$base}MyButton");

		$this->pause(800);
		$this->assertTextPresent('Result is Hello World');
	}
}