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

class ActiveImageButtonTestCase extends SeleniumTestCase
{
	function test()
	{
		$this->open("active-controls/index.php?page=ActiveImageButtonTest");
		$this->assertTextPresent("TActiveImageButton Functional Test");
		$this->assertText("label1", "Label 1");
		$this->click("image1");
		$this->pause(800);
		//unable to determine mouse position
		$this->assertTextPresent("Image clicked at x=0, y=0");
	}
}

?>