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

class ActiveImageButtonTestCase extends PradoGenericSeleniumTest
{
	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("regexp:Image clicked at x=\d+, y=\d+");
	}
}