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

class TimeTriggeredCallbackTestCase extends SeleniumTestCase
{
	function test()
	{
		$this->open("active-controls/index.php?page=TimeTriggeredCallbackTest");
		$this->verifyTextPresent("TimeTriggeredCallback + 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");

	}
}

?>