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

class ActiveHyperLinkTestCase extends PradoGenericSelenium2Test
{
	function test()
	{
		$base='ctl0_Content_';
		$this->url("active-controls/index.php?page=ActiveHyperLinkTest");
		$this->assertTextPresent("Active HyperLink Test Case");

		$this->assertText("{$base}link1", "Link 1");

		$this->click("{$base}button1");
		$this->pause(800);
		$this->assertText("{$base}link1", "Pradosoft.com");
	}
}