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

class CallbackTimerTestCase extends SeleniumTestCase
{
	function test()
	{
		$this->open("active-controls/index.php?page=CallbackTimerTest");
		$this->verifyTextPresent("TCallbackTimer + ViewState Tests");
		
		$this->assertText("label1", "ViewState Counter :");
		
		$this->click("button1");
		
		$this->pause(8000);
		
		$this->assertText("label1", "ViewState Counter : 1 2 3 4 5 6 7 8 9 10");
		
	}
}

?>