diff options
author | xue <> | 2006-04-28 11:10:06 +0000 |
---|---|---|
committer | xue <> | 2006-04-28 11:10:06 +0000 |
commit | 2cc93773feb5e76d2dd002b1dcd463a01d606794 (patch) | |
tree | c3615e1183fa6db678dbdf08b07c25543a2cde09 /tests/FunctionalTests/features/tests | |
parent | 1f63d5c05ba117e0158c02d5bc79fa1f38f8ce85 (diff) |
Merge from 3.0 branch till 985.
Diffstat (limited to 'tests/FunctionalTests/features/tests')
-rw-r--r-- | tests/FunctionalTests/features/tests/CompositeControlTestCase.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/FunctionalTests/features/tests/CompositeControlTestCase.php b/tests/FunctionalTests/features/tests/CompositeControlTestCase.php new file mode 100644 index 00000000..dda3f63b --- /dev/null +++ b/tests/FunctionalTests/features/tests/CompositeControlTestCase.php @@ -0,0 +1,23 @@ +<?php
+/*
+ * Created on 28/04/2006
+ */
+
+class CompositeControlTestCase extends SeleniumTestCase
+{
+
+ function test()
+ {
+ $base = "ctl0_Content_";
+ $this->open("features/index.php?page=CompositeControl", "");
+ $this->verifyTextPresent("Composite Control Test", "");
+ $this->type("{$base}user_textbox", "Hello");
+ $this->type("{$base}pass_textbox", "world");
+ $this->clickAndWait("//input[@type='submit' and @value='Submit']", "");
+ $this->verifyTextPresent("Result", "");
+ $this->verifyTextPresent("User: Hello Pass: world", "");
+ }
+
+}
+
+?>
|