summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/tests/ActiveImageButtonTestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/tests/ActiveImageButtonTestCase.php')
-rw-r--r--tests/FunctionalTests/active-controls/tests/ActiveImageButtonTestCase.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/ActiveImageButtonTestCase.php b/tests/FunctionalTests/active-controls/tests/ActiveImageButtonTestCase.php
new file mode 100644
index 00000000..3d9937bd
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/tests/ActiveImageButtonTestCase.php
@@ -0,0 +1,17 @@
+<?php
+
+class ActiveImageButtonTestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open("active-controls/index.php?page=ActiveImageButtonTest");
+ $this->assertTextPresent("TActiveImageButton Functional Test");
+ $this->assertText("label1", "Label 1");
+ $this->click("image1");
+ $this->pause(800);
+ //unable to determine mouse position
+ $this->assertTextPresent("Image clicked at x=0, y=0");
+ }
+}
+
+?> \ No newline at end of file