summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/tests/ActiveHyperLinkTestCase.php
blob: 6329d826029bf5606afa1210ff79f1d10c9de31e (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->assertContains("Active HyperLink Test Case", $this->source());

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

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