diff options
author | xue <> | 2006-01-24 04:04:46 +0000 |
---|---|---|
committer | xue <> | 2006-01-24 04:04:46 +0000 |
commit | 230067c5425f9e95e601d682a8b9bb523190856e (patch) | |
tree | 067c4858dfea65450c965e55d0fbccd9ecb8064a /tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php | |
parent | 9dcad4ef4612a135e6c003030304f0c347ac09ba (diff) |
trying to use verifyHTMLPresent
Diffstat (limited to 'tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php')
-rw-r--r-- | tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php index 9d92bbdc..7fb22b04 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php @@ -6,7 +6,8 @@ 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->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->verifyTextPresent("Welcome to", "");
$this->verifyTextPresent("Body contents", "");
$this->verifyElementPresent("//a[img/@alt='Hello World']");
|