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

class ActiveButtonTestCase extends PradoGenericSeleniumTest
{
	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(800);
		$this->assertText("label1", "Button 1 was clicked using callback!");
	}
}