diff options
author | tof <> | 2007-09-29 16:49:39 +0000 |
---|---|---|
committer | tof <> | 2007-09-29 16:49:39 +0000 |
commit | 569f66c4e4c387283eb4eca1f759dae8b0c93018 (patch) | |
tree | 1ac58cdd6f1a13ae6d56d88c0191c46ad5a8ed79 | |
parent | 68fff56f6bada30e65e7246c6e942f9dabef1ea1 (diff) |
Add selenium test case for ticket #708
-rw-r--r-- | .gitattributes | 1 | ||||
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket708TestCase.php | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index ce8247c4..1494cafe 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3012,6 +3012,7 @@ tests/FunctionalTests/tickets/tests/Ticket653TestCase.php -text tests/FunctionalTests/tickets/tests/Ticket659TestCase.php -text tests/FunctionalTests/tickets/tests/Ticket700TestCase.php -text tests/FunctionalTests/tickets/tests/Ticket703TestCase.php -text +tests/FunctionalTests/tickets/tests/Ticket708TestCase.php -text tests/FunctionalTests/tickets/tests/Ticket72TestCase.php -text tests/FunctionalTests/tickets/tests/Ticket93TestCase.php -text tests/FunctionalTests/validators.php -text diff --git a/tests/FunctionalTests/tickets/tests/Ticket708TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket708TestCase.php new file mode 100644 index 00000000..77978141 --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket708TestCase.php @@ -0,0 +1,28 @@ +<?php
+class Ticket708TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $base = 'ctl0_Content_';
+ $this->open('tickets/index.php?page=Ticket708');
+ $this->assertTitle("Verifying Ticket 708");
+
+ $this->click($base."grid_ctl1_RadioButton");
+ $this->pause(800);
+ $this->assertText($base."Result", "You have selected Radio Button #1");
+
+ $this->click($base."grid_ctl2_RadioButton");
+ $this->pause(800);
+ $this->assertText($base."Result", "You have selected Radio Button #2");
+
+ $this->click($base."grid_ctl3_RadioButton");
+ $this->pause(800);
+ $this->assertText($base."Result", "You have selected Radio Button #3");
+
+ $this->click($base."grid_ctl4_RadioButton");
+ $this->pause(800);
+ $this->assertText($base."Result", "You have selected Radio Button #4");
+ }
+
+}
+?>
\ No newline at end of file |