diff options
author | wei <> | 2006-09-23 01:08:19 +0000 |
---|---|---|
committer | wei <> | 2006-09-23 01:08:19 +0000 |
commit | 9af56fd93ed071d86f14296cec618073f6c0941a (patch) | |
tree | 439b2ba2a89b79bbbd0ce95ad904bd5335c7a700 /tests/FunctionalTests/active-controls/tests | |
parent | 0ccf3763474a18b72b6a166399fc1cf569b867f8 (diff) |
Fixed #383
Diffstat (limited to 'tests/FunctionalTests/active-controls/tests')
-rw-r--r-- | tests/FunctionalTests/active-controls/tests/PopulateListTestCase.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/PopulateListTestCase.php b/tests/FunctionalTests/active-controls/tests/PopulateListTestCase.php new file mode 100644 index 00000000..4929b879 --- /dev/null +++ b/tests/FunctionalTests/active-controls/tests/PopulateListTestCase.php @@ -0,0 +1,25 @@ +<?php
+
+class PopulateListTestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open("active-controls/index.php?page=PopulateActiveList");
+ $this->verifyTextPresent("Populate active list controls");
+ $this->assertText("label1", "");
+
+ $this->click("button1");
+ $this->pause(800);
+ $this->select("list1", "World");
+ $this->pause(800);
+ $this->assertText("label1", "list1: World");
+
+ $this->click("button2");
+ $this->pause(800);
+ $this->select("list2", "Prado");
+ $this->pause(800);
+ $this->assertText("label1", "list2: Prado");
+ }
+}
+
+?>
\ No newline at end of file |