From b38c19252593b2fea1ad2597d587741fe48f1c67 Mon Sep 17 00:00:00 2001 From: tof <> Date: Thu, 17 Apr 2008 17:18:25 +0000 Subject: Implemented #745 --- .../tickets/protected/pages/Ticket745.page | 86 ++++++++++++++++++++++ .../tickets/protected/pages/Ticket745.php | 11 +++ .../tickets/tests/Ticket745TestCase.php | 18 +++++ 3 files changed, 115 insertions(+) create mode 100755 tests/FunctionalTests/tickets/protected/pages/Ticket745.page create mode 100755 tests/FunctionalTests/tickets/protected/pages/Ticket745.php create mode 100644 tests/FunctionalTests/tickets/tests/Ticket745TestCase.php (limited to 'tests') diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket745.page b/tests/FunctionalTests/tickets/protected/pages/Ticket745.page new file mode 100755 index 00000000..7bf583fb --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket745.page @@ -0,0 +1,86 @@ + + +

Customized Wizard Template Sample

+ + + + + Header Template +
+ Step <%= $this->Parent->ActiveStepIndex+1 %> of 3 +
+ + + SideBar Template +
+ + + + + + + + +
+ + +  ||  + +
+ Start Navigation Template +
+ + + + +
+ Step Navigation Template +
+ + + All navigation buttons are removed. +
+ Step Navigation Template +
+ + + Wizard Step Content +

+ Your favorite color: + + + + + + + + + + + +

+
+ + + Wizard Step Content +

+ +

+
+ + + Wizard Step Content +

+ Thank you for completing this survey.
+

+
+
+ +
$Id: Sample4.page 1650 2007-01-24 06:55:32Z wei $
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket745.php b/tests/FunctionalTests/tickets/protected/pages/Ticket745.php new file mode 100755 index 00000000..8d7c66ce --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket745.php @@ -0,0 +1,11 @@ +Result->Text="Your favorite color is: " . $this->DropDownList1->SelectedValue; + } +} + +?> \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/tests/Ticket745TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket745TestCase.php new file mode 100644 index 00000000..492b10ae --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket745TestCase.php @@ -0,0 +1,18 @@ +open('tickets/index.php?page=Ticket745'); + $this->assertTitle("Verifying Ticket 745"); + + $this->select($base.'Wizard1_DropDownList1', 'Green'); + $this->click($base.'Wizard1_ctl4_ctl1'); + $this->pause(800); + $this->assertTextPresent ('Step 3 of 3'); + + } + +} +?> \ No newline at end of file -- cgit v1.2.3