summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket93.page53
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket93.php15
2 files changed, 68 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket93.page b/tests/FunctionalTests/tickets/protected/pages/Ticket93.page
new file mode 100644
index 00000000..89aeb436
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket93.page
@@ -0,0 +1,53 @@
+<com:TContent ID="Content">
+
+<h2>ValidationGroups without any inputs with grouping</h2>
+<p>This test can not be tested using automation.</p>
+<com:TImageMap ImageUrl=<%~hotspot.jpg%> AlternateText="Navigate buttons" OnClick="buttonClicked" >
+
+<com:TRectangleHotSpot
+ hotspotmode="Navigate"
+ NavigateUrl="navigate1.htm"
+ alternatetext="Button 1"
+ top="30"
+ left="175"
+ bottom="110"
+ right="355" />
+
+<com:TRectangleHotSpot
+ hotspotmode="PostBack"
+ PostBackValue="test"
+ CausesValidation="true"
+ alternatetext="Button 2"
+ top="155"
+ left="175"
+ bottom="240"
+ right="355" />
+
+<com:TRectangleHotSpot
+ hotspotmode="PostBack"
+ PostBackValue="test2"
+ CausesValidation="true"
+ alternatetext="Button 3"
+ top="285"
+ left="175"
+ bottom="365"
+ right="355" />
+
+</com:TImageMap>
+<div>
+<com:TTextBox ID="TextBox" />
+<com:TRequiredFieldValidator
+ ValidationGroup="Group1"
+ EnableClientScript="true"
+ ControlToValidate="TextBox"
+ Text="required" />
+
+<com:TTextBox ID="TextBox2" />
+<com:TRequiredFieldValidator
+ ValidationGroup="Group1"
+ EnableClientScript="true"
+ ControlToValidate="TextBox2"
+ Text="required" />
+</div>
+
+</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket93.php b/tests/FunctionalTests/tickets/protected/pages/Ticket93.php
new file mode 100644
index 00000000..ea5745a8
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket93.php
@@ -0,0 +1,15 @@
+<?php
+/*
+ * Created on 13/04/2006
+ */
+
+class Ticket93 extends TPage
+{
+ public function buttonClicked($sender,$param)
+ {
+ //echo $param->getPostBackValue();
+ print_r($param);
+ }
+}
+
+?>