summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart/Controls/HyperLinkTestCase.php
blob: dc0261e7135262d0f7ec2bb506a63b5824f14459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

class QuickstartHyperLinkTestCase extends PradoGenericSeleniumTest
{
	function test ()
	{
		$this->open("../../demos/quickstart/index.php?page=Controls.Samples.THyperLink.Home&amp;notheme=true&amp;lang=en", "");
		$this->verifyTitle("PRADO QuickStart Sample", "");
		$this->verifyElementPresent("//a[@href=\"http://www.pradosoft.com/\" and @target=\"_blank\"]");
		$this->verifyTextPresent("Welcome to", "");
		$this->verifyTextPresent("Body contents", "");
		$this->verifyElementPresent("//a[img/@alt='Hello World']");
		$this->verifyElementPresent("//a[contains(text(),'Body contents')]");
	}
}