From 9dcad4ef4612a135e6c003030304f0c347ac09ba Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 24 Jan 2006 03:55:40 +0000 Subject: Modified quickstart FT so that the test pages don't use theme. --- tests/FunctionalTests/quickstart_tests/Controls/ButtonTestCase.php | 2 +- tests/FunctionalTests/quickstart_tests/Controls/CheckBoxTestCase.php | 2 +- tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php | 2 +- tests/FunctionalTests/quickstart_tests/Controls/ImageButtonTestCase.php | 2 +- tests/FunctionalTests/quickstart_tests/Controls/ImageTestCase.php | 2 +- tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php | 2 +- tests/FunctionalTests/quickstart_tests/Controls/LinkButtonTestCase.php | 2 +- tests/FunctionalTests/quickstart_tests/Controls/PanelTestCase.php | 2 +- tests/FunctionalTests/quickstart_tests/Controls/TableTestCase.php | 2 +- tests/FunctionalTests/quickstart_tests/Controls/TextBoxTestCase.php | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) (limited to 'tests/FunctionalTests/quickstart_tests/Controls') diff --git a/tests/FunctionalTests/quickstart_tests/Controls/ButtonTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/ButtonTestCase.php index 995d4812..26e9c773 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", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TButton.Home&functionaltest=true", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart_tests/Controls/CheckBoxTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/CheckBoxTestCase.php index a17f7600..80158343 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", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TCheckBox.Home&functionaltest=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 70801f0e..9d92bbdc 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", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.THyperLink.Home&functionaltest=true", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); $this->verifyAttribute("//a[@href=\"http://www.pradosoft.com/\"]/@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 c633a1df..079b3abf 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", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TImageButton.Home&functionaltest=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 cccee6c7..26d04719 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", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TImage.Home&functionaltest=true", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); $this->verifyElementPresent("//img[contains(@src,'/hello_world.gif') and @alt='']"); $this->verifyElementPresent("//img[contains(@src,'/hello_world.gif') and @alt='Hello World!']"); diff --git a/tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php index 087965ac..8694f581 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", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TLabel.Home&functionaltest=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 8bb4dfe9..dfffb1d8 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", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TLinkButton.Home&functionaltest=true", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart_tests/Controls/PanelTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/PanelTestCase.php index 6fb3918b..8eb8a127 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", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TPanel.Home&functionaltest=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/TableTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/TableTestCase.php index abaabcf3..ce161487 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", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TTable.Home&functionaltest=true", ""); $this->verifyElementPresent("//table[@cellpadding='2' and @cellspacing='0' and @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 1a401093..7bb06915 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", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TTextBox.Home&functionaltest=true", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); -- cgit v1.2.3