summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests
diff options
context:
space:
mode:
authortof <>2007-09-29 16:49:39 +0000
committertof <>2007-09-29 16:49:39 +0000
commit569f66c4e4c387283eb4eca1f759dae8b0c93018 (patch)
tree1ac58cdd6f1a13ae6d56d88c0191c46ad5a8ed79 /tests/FunctionalTests/tickets/tests
parent68fff56f6bada30e65e7246c6e942f9dabef1ea1 (diff)
Add selenium test case for ticket #708
Diffstat (limited to 'tests/FunctionalTests/tickets/tests')
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket708TestCase.php28
1 files changed, 28 insertions, 0 deletions
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