summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php
blob: 21a5128de57082f05bfbd3d8ea854a7467db4815 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

class PostLoadingTestCase extends PradoGenericSeleniumTest
{
	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');
	}
}