diff options
Diffstat (limited to 'tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php')
-rw-r--r-- | tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php index 8694f581..33ec790c 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php @@ -11,8 +11,11 @@ class LabelTestCase extends SeleniumTestCase $this->verifyTextPresent("This is a form label associated with the TTextBox control below", "");
$this->verifyTextPresent("This is a label with empty Text property and nonempty body", "");
$this->verifyTextPresent("This is a disabled label", "");
- $this->verifyElementPresent("//span[@disabled='disabled']");
- $this->verifyElementPresent("//label[@for=\"ctl0_body_test\"]");
+
+ $this->verifyAttribute("ctl0_body_Label2@disabled","regexp:true|disabled");
+
+ //$this->verifyAttribute("ctl0_body_Label1@for","ctl0_body_test");
+
$this->type("ctl0\$body\$test", "test");
}
}
|