From bdcb390dce02496f807743afff2c0e1a4e632aff Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 26 Jan 2006 04:07:51 +0000 Subject: Added TDropDownList FT. --- .../quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page | 2 -- .../quickstart/protected/pages/Controls/Samples/TDropDownList/Home.php | 2 +- tests/FunctionalTests/quickstart_tests/Controls/ListBoxTestCase.php | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page index ed3c07a3..90dc4a3c 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page +++ b/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page @@ -92,8 +92,6 @@ Dropdown list's behavior upon postback:

DropDown Lists with DataBinding

-Use Ctrl + Mouse Click to change selection -
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.php index c220d697..133a797a 100644 --- a/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.php +++ b/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.php @@ -32,7 +32,7 @@ class Home extends TPage foreach($indices as $index) { $item=$input->Items[$index]; - $result.="(Index: $index, Value: $item->Value, Text: $item->Text)\n"; + $result.="(Index: $index, Value: $item->Value, Text: $item->Text)"; } if($result==='') $output->Text='Your selection is empty.'; diff --git a/tests/FunctionalTests/quickstart_tests/Controls/ListBoxTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/ListBoxTestCase.php index 359afb41..e91ecd9e 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/ListBoxTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/ListBoxTestCase.php @@ -73,6 +73,7 @@ class ListBoxTestCase extends SeleniumTestCase // List box causing validation $this->verifyNotVisible('ctl0_body_ctl12'); $this->select("ctl0\$body\$VListBox2", "label=Agree"); + $this->pause(1000); $this->verifyVisible('ctl0_body_ctl12'); $this->type("ctl0\$body\$TextBox", "test"); $this->selectAndWait("ctl0\$body\$VListBox2", "label=Disagree"); -- cgit v1.2.3