summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/tests/ActiveButtonTestCase.php
blob: 0a2949063c9cd820d29114ed079a9b0824cef883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

class ActiveButtonTestCase extends SeleniumTestCase
{
	function test()
	{
		$this->open("active-controls/index.php?page=ActiveButtonTest");
		$this->verifyTextPresent("TActiveButton Functional Test");
		$this->assertText("label1", "Label 1");
		$this->click("button2");
		$this->pause(500);
		$this->assertText("label1", "Button 1 was clicked using callback!");
	}
}

?>