diff options
author | xue <> | 2006-02-09 14:32:13 +0000 |
---|---|---|
committer | xue <> | 2006-02-09 14:32:13 +0000 |
commit | 47088abad9dbdd4ea24180753fa47ea3e363390c (patch) | |
tree | 966c86862df4eb6bfd964fdbb7649d0eba1e8526 /tests | |
parent | aa46c9ab78abdd23c273c5e49b402a87a2aefcdb (diff) |
Added Printer-friendly version of quickstart tutorial.
Diffstat (limited to 'tests')
18 files changed, 24 insertions, 24 deletions
diff --git a/tests/FunctionalTests/quickstart_tests/Advanced/I18N.php b/tests/FunctionalTests/quickstart_tests/Advanced/I18N.php index 3917b76d..fc45b096 100644 --- a/tests/FunctionalTests/quickstart_tests/Advanced/I18N.php +++ b/tests/FunctionalTests/quickstart_tests/Advanced/I18N.php @@ -5,43 +5,43 @@ class I18NTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=en&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=en&notheme=true", "");
$this->verifyTitle("Internationlization in PRADO", "");
$this->verifyTextPresent("46.412,42 €", "");
$this->verifyTextPresent("$12.40", "");
$this->verifyTextPresent("€100.00", "");
$this->verifyTextPresent("December 6, 2004", "");
- $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=zh&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=zh&notheme=true", "");
$this->verifyTitle("PRADO 国际化", "");
$this->verifyTextPresent("2004 十二月", "");
$this->verifyTextPresent("US$ 12.40", "");
$this->verifyTextPresent("46.412,42 €", "");
$this->verifyTextPresent("€100.00 ", "");
- $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=zh_TW&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=zh_TW&notheme=true", "");
$this->verifyTitle("PRADO 國際化", "");
$this->verifyTextPresent("2004年12月6日", "");
$this->verifyTextPresent("US$12.40", "");
$this->verifyTextPresent("46.412,42 €", "");
$this->verifyTextPresent("€100.00", "");
- $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=de&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=de&notheme=true", "");
$this->verifyTitle("Internationalisierung in PRADO", "");
$this->verifyTextPresent("6. Dezember 2004 ", "");
$this->verifyTextPresent("$ 12,40", "");
$this->verifyTextPresent("46.412,42 €", "");
$this->verifyTextPresent("€100.00", "");
- $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=es&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=es&notheme=true", "");
$this->verifyTitle("Internationlization en PRADO", "");
$this->verifyTextPresent("6 de diciembre de 2004", "");
$this->verifyTextPresent("US$12.40", "");
$this->verifyTextPresent("46.412,42 €", "");
$this->verifyTextPresent("€100.00", "");
- $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=fr&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=fr&notheme=true", "");
$this->verifyTitle("Internationalisation dans PRADO", "");
$this->verifyTextPresent("6 décembre 2004", "");
$this->verifyTextPresent("12,40 $", "");
$this->verifyTextPresent("46.412,42 €", "");
$this->verifyTextPresent("€100.00", "");
- $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=pl&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=pl&notheme=true", "");
$this->verifyTitle("Internacjonalizacja w PRADO", "");
$this->verifyTextPresent("6 grudnia 2004", "");
$this->verifyTextPresent("US$ 12,40", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/ButtonTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/ButtonTestCase.php index 26e9c773..032f5ff1 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/ButtonTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/ButtonTestCase.php @@ -4,7 +4,7 @@ class ButtonTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TButton.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TButton.Home&notheme=true", "");
$this->verifyTitle("PRADO QuickStart Sample", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/CheckBoxListTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/CheckBoxListTestCase.php index 4ac07ee2..783e2ccc 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/CheckBoxListTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/CheckBoxListTestCase.php @@ -5,7 +5,7 @@ class CheckBoxListTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TCheckBoxList.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TCheckBoxList.Home&notheme=true", "");
// Check box list with default settings:
$this->click("//input[@name='ctl0\$body\$ctl0\$0' and @value='value 1']", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/CheckBoxTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/CheckBoxTestCase.php index b68f22d3..a24ce937 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/CheckBoxTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/CheckBoxTestCase.php @@ -4,7 +4,7 @@ class CheckBoxTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TCheckBox.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TCheckBox.Home&notheme=true", "");
$this->verifyTitle("PRADO QuickStart Sample", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/DropDownListTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/DropDownListTestCase.php index f027eb70..cfb2047b 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/DropDownListTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/DropDownListTestCase.php @@ -4,7 +4,7 @@ class DropDownListTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDropDownList.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDropDownList.Home&notheme=true", "");
$this->verifyTitle("PRADO QuickStart Sample", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php index 5ef103f0..b0b964f8 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php @@ -4,7 +4,7 @@ class HyperLinkTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.THyperLink.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.THyperLink.Home&notheme=true", "");
$this->verifyTitle("PRADO QuickStart Sample", "");
$this->verifyElementPresent("//a[@href=\"http://www.pradosoft.com/\" and @target=\"_blank\"]");
$this->verifyTextPresent("Welcome to", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/ImageButtonTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/ImageButtonTestCase.php index 079b3abf..cc0bda53 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/ImageButtonTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/ImageButtonTestCase.php @@ -4,7 +4,7 @@ class ImageButtonTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TImageButton.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TImageButton.Home&notheme=true", "");
$this->verifyTitle("PRADO QuickStart Sample", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/ImageTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/ImageTestCase.php index 34c37975..a0ad6d6b 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/ImageTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/ImageTestCase.php @@ -5,7 +5,7 @@ class ImageTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TImage.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TImage.Home&notheme=true", "");
$this->verifyTitle("PRADO QuickStart Sample", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php index 33ec790c..aa045e0c 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php @@ -5,7 +5,7 @@ class LabelTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TLabel.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TLabel.Home&notheme=true", "");
$this->verifyTitle("PRADO QuickStart Sample", "");
$this->verifyTextPresent("This is a label with customized color and font.", "");
$this->verifyTextPresent("This is a form label associated with the TTextBox control below", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/LinkButtonTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/LinkButtonTestCase.php index dfffb1d8..49c3c61a 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/LinkButtonTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/LinkButtonTestCase.php @@ -4,7 +4,7 @@ class LinkButtonTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TLinkButton.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TLinkButton.Home&notheme=true", "");
$this->verifyTitle("PRADO QuickStart Sample", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/ListBoxTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/ListBoxTestCase.php index e91ecd9e..6f86719a 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/ListBoxTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/ListBoxTestCase.php @@ -5,7 +5,7 @@ class ListBoxTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TListBox.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TListBox.Home&notheme=true", "");
// a default single selection listbox
$this->verifyAttribute("ctl0\$body\$ctl0@size","4");
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/PanelTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/PanelTestCase.php index 8eb8a127..32134512 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/PanelTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/PanelTestCase.php @@ -4,7 +4,7 @@ class PanelTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TPanel.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TPanel.Home&notheme=true", "");
$this->verifyTextPresent("This is panel content with", "");
$this->verifyElementPresent("//span[text()='label']");
$this->verifyTextPresent("grouping text", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/RadioButtonListTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/RadioButtonListTestCase.php index b7156932..b6242d05 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/RadioButtonListTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/RadioButtonListTestCase.php @@ -5,7 +5,7 @@ class RadioButtonListTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRadioButtonList.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRadioButtonList.Home&notheme=true", "");
// RadioButton list with default settings:
$this->click("//input[@name='ctl0\$body\$ctl0' and @value='value 3']", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/RadioButtonTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/RadioButtonTestCase.php index bda7ca2d..d6d5f2e3 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/RadioButtonTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/RadioButtonTestCase.php @@ -4,7 +4,7 @@ class RadioButtonTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRadioButton.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRadioButton.Home&notheme=true", "");
$this->verifyTitle("PRADO QuickStart Sample", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/TableTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/TableTestCase.php index 24232b80..e9bd63be 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/TableTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/TableTestCase.php @@ -4,7 +4,7 @@ class TableTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TTable.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TTable.Home&notheme=true", "");
$this->verifyElementPresent("//table[@rules='all' and @border='1']");
$this->verifyElementPresent("//table/caption[@align='bottom' and text()='This is table caption']");
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/TextBoxTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/TextBoxTestCase.php index 7bb06915..e1c76938 100644 --- a/tests/FunctionalTests/quickstart_tests/Controls/TextBoxTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Controls/TextBoxTestCase.php @@ -4,7 +4,7 @@ class TextBoxTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TTextBox.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TTextBox.Home&notheme=true", "");
$this->verifyTitle("PRADO QuickStart Sample", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Fundamentals/HangmanTestCase.php b/tests/FunctionalTests/quickstart_tests/Fundamentals/HangmanTestCase.php index 27537263..cad3dc0e 100644 --- a/tests/FunctionalTests/quickstart_tests/Fundamentals/HangmanTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Fundamentals/HangmanTestCase.php @@ -4,7 +4,7 @@ class HangmanTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Fundamentals.Samples.Hangman.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Fundamentals.Samples.Hangman.Home&notheme=true", "");
$this->verifyTitle("Hangman Game", "");
$this->verifyTextPresent("Medium game; you are allowed 5 misses.", "");
$this->clickAndWait("//input[@type='submit' and @value='Play!']", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Fundamentals/HelloWorldTestCase.php b/tests/FunctionalTests/quickstart_tests/Fundamentals/HelloWorldTestCase.php index 8aea86f6..e3da5a72 100644 --- a/tests/FunctionalTests/quickstart_tests/Fundamentals/HelloWorldTestCase.php +++ b/tests/FunctionalTests/quickstart_tests/Fundamentals/HelloWorldTestCase.php @@ -5,7 +5,7 @@ class HelloWorldTestCase extends SeleniumTestCase {
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Fundamentals.Samples.HelloWorld.Home&functionaltest=true", "");
+ $this->open("../../demos/quickstart/index.php?page=Fundamentals.Samples.HelloWorld.Home&notheme=true", "");
$this->verifyTitle("Hello World", "");
$this->clickAndWait("//input[@type='submit' and @value='Click Me']", "");
$this->clickAndWait("//input[@type='submit' and @value='Hello World']", "");
|