diff options
author | wei <> | 2005-12-10 11:49:29 +0000 |
---|---|---|
committer | wei <> | 2005-12-10 11:49:29 +0000 |
commit | 98215a603fb798cdb4178e49061977544aaa45b7 (patch) | |
tree | 282787037961f7466acbd174ce151cac6de71273 /tests/FunctionalTests/framework/Demos | |
parent | 25f9c45261aafd65477ad526e0b6ad3dca80803a (diff) |
Initial import selenium functional test framework.
Diffstat (limited to 'tests/FunctionalTests/framework/Demos')
-rw-r--r-- | tests/FunctionalTests/framework/Demos/testControls | 0 | ||||
-rw-r--r-- | tests/FunctionalTests/framework/Demos/testControls.php | 16 |
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 |