diff options
Diffstat (limited to 'tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php')
-rw-r--r-- | tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php index 7fb22b04..5ef103f0 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php @@ -6,8 +6,7 @@ class HyperLinkTestCase extends SeleniumTestCase {
$this->open("../../demos/quickstart/index.php?page=Controls.Samples.THyperLink.Home&functionaltest=true", "");
$this->verifyTitle("PRADO QuickStart Sample", "");
- //$this->verifyAttribute("//a[@href=\"http://www.pradosoft.com/\"]/@target","_blank");
- $this->verifyHTMLPresent('<a href="http://www.pradosoft.com/" target="_blank" style="background-color:silver;font-style:italic;">PradoSoft.com</a>');
+ $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']");
|