summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart/ActiveControls/ActiveCustomValidatorTestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/quickstart/ActiveControls/ActiveCustomValidatorTestCase.php')
-rw-r--r--tests/FunctionalTests/quickstart/ActiveControls/ActiveCustomValidatorTestCase.php66
1 files changed, 33 insertions, 33 deletions
diff --git a/tests/FunctionalTests/quickstart/ActiveControls/ActiveCustomValidatorTestCase.php b/tests/FunctionalTests/quickstart/ActiveControls/ActiveCustomValidatorTestCase.php
index 3346f2b1..4b81e872 100644
--- a/tests/FunctionalTests/quickstart/ActiveControls/ActiveCustomValidatorTestCase.php
+++ b/tests/FunctionalTests/quickstart/ActiveControls/ActiveCustomValidatorTestCase.php
@@ -1,34 +1,34 @@
-<?php
-//$Id: ActiveButtonTestCase.php 1405 2006-09-10 01:03:56Z wei $
-class ActiveCustomValidatorTestCase extends SeleniumTestCase
-{
- function test ()
- {
- $this->open("../../demos/quickstart/index.php?page=ActiveControls.Samples.TActiveCustomValidator.Home&amp;notheme=true&amp;lang=en");
-
- $this->verifyTitle("PRADO QuickStart Sample", "");
-
- $this->assertTextPresent('TActiveCustomValidator Samples (AJAX)');
-
- $base = 'ctl0_body_';
-
- $this->assertNotVisible($base.'validator1');
- $this->click($base.'button1');
- $this->pause(800);
- $this->assertVisible($base.'validator1');
-
- $this->type($base.'textbox1', 'hello');
- $this->pause(800);
- $this->assertVisible($base.'validator1');
-
- $this->type($base.'textbox1', 'Prado');
- $this->pause(800);
- $this->assertVisible($base.'validator1');
-
- $this->click($base.'button1');
- $this->pause(800);
- $this->assertNotVisible($base.'validator1');
- }
-}
-
+<?php
+//$Id: ActiveButtonTestCase.php 1405 2006-09-10 01:03:56Z wei $
+class ActiveCustomValidatorTestCase extends SeleniumTestCase
+{
+ function test ()
+ {
+ $this->open("../../demos/quickstart/index.php?page=ActiveControls.Samples.TActiveCustomValidator.Home&amp;notheme=true&amp;lang=en");
+
+ $this->verifyTitle("PRADO QuickStart Sample", "");
+
+ $this->assertTextPresent('TActiveCustomValidator Samples (AJAX)');
+
+ $base = 'ctl0_body_';
+
+ $this->assertNotVisible($base.'validator1');
+ $this->click($base.'button1');
+ $this->pause(800);
+ $this->assertVisible($base.'validator1');
+
+ $this->type($base.'textbox1', 'hello');
+ $this->pause(800);
+ $this->assertVisible($base.'validator1');
+
+ $this->type($base.'textbox1', 'Prado');
+ $this->pause(800);
+ $this->assertVisible($base.'validator1');
+
+ $this->click($base.'button1');
+ $this->pause(800);
+ $this->assertNotVisible($base.'validator1');
+ }
+}
+
?> \ No newline at end of file