diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php b/tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php new file mode 100644 index 00000000..3b4d0ce9 --- /dev/null +++ b/tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php @@ -0,0 +1,22 @@ +<?php
+
+class PostLoadingTestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('active-controls/index.php?page=PostLoadingTest');
+ $this->assertTextPresent('PostLoading Test');
+
+ $this->assertTextNotPresent('Hello World');
+
+ $this->click('div1');
+ $this->pause(800);
+ $this->type('MyTextBox', 'Hello World');
+ $this->click('MyButton');
+
+ $this->pause(800);
+ $this->assertTextPresent('Result is Hello World');
+ }
+}
+
+?>
\ No newline at end of file |