blob: 5ebd2bf3322769ee8f07c6bdfe48315ab3d20163 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
class HyperLinkTestCase extends SeleniumTestCase
{
function test ()
{
$this->open("../../demos/quickstart/?page=Controls.Samples.THyperLink.Home", "");
$this->verifyTitle("PRADO QuickStart Sample", "");
$this->verifyAttribute("//a[@href=\"http://www.pradosoft.com/\"]/@target","_blank");
$this->verifyTextPresent("Welcome to", "");
$this->verifyTextPresent("Body contents", "");
$this->verifyElementPresent("//a[img/@alt='Hello World']");
$this->verifyElementPresent("//a[contains(text(),'Body contents')]");
}
}
?>
|