summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/framework/Web/UI/testTButton.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/framework/Web/UI/testTButton.php')
-rw-r--r--tests/FunctionalTests/framework/Web/UI/testTButton.php24
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