From c87a1568925872634614d1cc12a79a2e9cc5a848 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 24 Jan 2006 14:36:13 +0000 Subject: Makes all FT IE-compatible. --- tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php') 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"); } } -- cgit v1.2.3