summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/features/protected/pages/MultiView
diff options
context:
space:
mode:
authorxue <>2006-03-18 01:28:08 +0000
committerxue <>2006-03-18 01:28:08 +0000
commitb8ac07fd91e18decc0a863f3deb115772ea27eac (patch)
treeb6165184ba9acb1b6a47b7a5325f3345575531c3 /tests/FunctionalTests/features/protected/pages/MultiView
parent3323291d70c162e461126366a28a0334f6451c9f (diff)
Added feature tests for the new controls.
Diffstat (limited to 'tests/FunctionalTests/features/protected/pages/MultiView')
-rw-r--r--tests/FunctionalTests/features/protected/pages/MultiView/Home.page24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/FunctionalTests/features/protected/pages/MultiView/Home.page b/tests/FunctionalTests/features/protected/pages/MultiView/Home.page
new file mode 100644
index 00000000..30ee1bbe
--- /dev/null
+++ b/tests/FunctionalTests/features/protected/pages/MultiView/Home.page
@@ -0,0 +1,24 @@
+<com:TContent ID="Content">
+
+<com:TMultiView ActiveViewIndex="2">
+ <com:TView ID="View1">
+ view 1
+ <com:TTextBox Text="view 1" />
+ <com:TButton Text="see view 2" CommandName="SwitchViewIndex" CommandParameter="1" />
+ <com:TButton Text="see view 3" CommandName="SwitchViewIndex" CommandParameter="2" />
+ </com:TView>
+ <com:TView ID="View2">
+ view 2
+ <com:TTextBox Text="view 2" />
+ <com:TButton Text="see view 1" CommandName="SwitchViewID" CommandParameter="View1" />
+ <com:TButton Text="see view 3" CommandName="NextView" />
+ </com:TView>
+ <com:TView ID="View3">
+ view 3
+ <com:TTextBox Text="view 3" />
+ <com:TButton Text="see view 1" CommandName="SwitchViewIndex" CommandParameter="0" />
+ <com:TButton Text="see view 2" CommandName="PreviousView" />
+ </com:TView>
+</com:TMultiView>
+
+</com:TContent> \ No newline at end of file