summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/framework/Demos
diff options
context:
space:
mode:
authorwei <>2005-12-10 11:49:29 +0000
committerwei <>2005-12-10 11:49:29 +0000
commit98215a603fb798cdb4178e49061977544aaa45b7 (patch)
tree282787037961f7466acbd174ce151cac6de71273 /tests/FunctionalTests/framework/Demos
parent25f9c45261aafd65477ad526e0b6ad3dca80803a (diff)
Initial import selenium functional test framework.
Diffstat (limited to 'tests/FunctionalTests/framework/Demos')
-rw-r--r--tests/FunctionalTests/framework/Demos/testControls0
-rw-r--r--tests/FunctionalTests/framework/Demos/testControls.php16
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/FunctionalTests/framework/Demos/testControls b/tests/FunctionalTests/framework/Demos/testControls
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/tests/FunctionalTests/framework/Demos/testControls
diff --git a/tests/FunctionalTests/framework/Demos/testControls.php b/tests/FunctionalTests/framework/Demos/testControls.php
new file mode 100644
index 00000000..c55f3618
--- /dev/null
+++ b/tests/FunctionalTests/framework/Demos/testControls.php
@@ -0,0 +1,16 @@
+<?php
+
+class testControls extends SeleniumTestCase
+{
+ function setup()
+ {
+ $this->open('../../demos/controls/index.php');
+ }
+
+ function testIndexPage()
+ {
+ $this->assertTextPresent("Welcome! Guest");
+ $this->clickAndWait('ctl0$header$ctl15');
+ $this->assertTextPresent("Login");
+ }
+} \ No newline at end of file