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/Web/UI/testTButton.php | |
parent | 25f9c45261aafd65477ad526e0b6ad3dca80803a (diff) |
Initial import selenium functional test framework.
Diffstat (limited to 'tests/FunctionalTests/framework/Web/UI/testTButton.php')
-rw-r--r-- | tests/FunctionalTests/framework/Web/UI/testTButton.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/FunctionalTests/framework/Web/UI/testTButton.php b/tests/FunctionalTests/framework/Web/UI/testTButton.php new file mode 100644 index 00000000..eb4c4987 --- /dev/null +++ b/tests/FunctionalTests/framework/Web/UI/testTButton.php @@ -0,0 +1,24 @@ +<?php + +class testTButton extends TPage +{ + +} + + +class testTButtonCase extends SeleniumTestCase +{ + function setup() + { + $this->initPage(__FILE__); + $this->open($this->Page->Request->TestUrl); + } + + function testButtonClick() + { + $this->assertTextPresent("TButton Functional Test"); + $this->click($this->Page->button1); + } +} + +?>
\ No newline at end of file |