diff options
author | xue <> | 2006-02-13 06:04:33 +0000 |
---|---|---|
committer | xue <> | 2006-02-13 06:04:33 +0000 |
commit | 934069ca2164753f72783eaa7d9fd98e4280f2ec (patch) | |
tree | 2b671bdabbe5896f2af6c766c43cacbc1f8338cc /tests/FunctionalTests/tickets/tests | |
parent | acf77801d4066055cfc3c20e5b634722923f865f (diff) |
Reorganized FT test folder.
Diffstat (limited to 'tests/FunctionalTests/tickets/tests')
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket21TestCase.php | 16 | ||||
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket27TestCase.php | 18 |
2 files changed, 34 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket21TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket21TestCase.php new file mode 100644 index 00000000..d9677779 --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket21TestCase.php @@ -0,0 +1,16 @@ +<?php
+
+class Ticket21TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket21');
+ $this->assertTitle("Verifying Ticket 21");
+ $this->clickAndWait("ctl0_Content_button1");
+ $this->verifyTextPresent("Radio button clicks: 1", "");
+ $this->click("ctl0_Content_button1");
+ $this->verifyTextPresent("Radio button clicks: 1", "");
+ }
+}
+
+?>
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/tests/Ticket27TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket27TestCase.php new file mode 100644 index 00000000..6a5ccdb9 --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket27TestCase.php @@ -0,0 +1,18 @@ +<?php
+
+class Ticket27TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket27');
+ $this->verifyTitle("Verifying Ticket 27", "");
+ $this->click("//input[@value='Agree']", "");
+ $this->assertVisible("ctl0_Content_validator1", "");
+ $this->type("ctl0_Content_TextBox", "122");
+ $this->assertNotVisible("ctl0_Content_validator1", "");
+ $this->clickAndWait("//input[@value='Disagree']", "");
+ $this->assertNotVisible("ctl0_Content_validator1", "");
+ }
+}
+
+?>
\ No newline at end of file |