diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/tests/PeriodicCallbackTestCase.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/tests/PeriodicCallbackTestCase.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/PeriodicCallbackTestCase.php b/tests/FunctionalTests/active-controls/tests/PeriodicCallbackTestCase.php new file mode 100644 index 00000000..2468aebf --- /dev/null +++ b/tests/FunctionalTests/active-controls/tests/PeriodicCallbackTestCase.php @@ -0,0 +1,21 @@ +<?php + +class PeriodicCallbackTestCase extends SeleniumTestCase +{ + function test() + { + $this->open("active-controls/index.php?page=PeriodicCallbackTest"); + $this->verifyTextPresent("TPeriodicCallback + ViewState Tests"); + + $this->assertText("label1", "ViewState Counter :"); + + $this->click("button1"); + + $this->pause(8000); + + $this->assertText("label1", "ViewState Counter : 1 2 3 4 5 6 7 8 9 10"); + + } +} + +?>
\ No newline at end of file |