summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests
diff options
context:
space:
mode:
authorxue <>2006-01-24 03:55:40 +0000
committerxue <>2006-01-24 03:55:40 +0000
commit9dcad4ef4612a135e6c003030304f0c347ac09ba (patch)
treed98edfe3d31f7838efdc39e085739bd3a31444e5 /tests/FunctionalTests
parent51694d32a1b85a02809f55e1f406c98ba755b4bf (diff)
Modified quickstart FT so that the test pages don't use theme.
Diffstat (limited to 'tests/FunctionalTests')
-rw-r--r--tests/FunctionalTests/quickstart_tests/Controls/ButtonTestCase.php2
-rw-r--r--tests/FunctionalTests/quickstart_tests/Controls/CheckBoxTestCase.php2
-rw-r--r--tests/FunctionalTests/quickstart_tests/Controls/HyperLinkTestCase.php2
-rw-r--r--tests/FunctionalTests/quickstart_tests/Controls/ImageButtonTestCase.php2
-rw-r--r--tests/FunctionalTests/quickstart_tests/Controls/ImageTestCase.php2
-rw-r--r--tests/FunctionalTests/quickstart_tests/Controls/LabelTestCase.php2
-rw-r--r--tests/FunctionalTests/quickstart_tests/Controls/LinkButtonTestCase.php2
-rw-r--r--tests/FunctionalTests/quickstart_tests/Controls/PanelTestCase.php2
-rw-r--r--tests/FunctionalTests/quickstart_tests/Controls/TableTestCase.php2
-rw-r--r--tests/FunctionalTests/quickstart_tests/Controls/TextBoxTestCase.php2
-rw-r--r--tests/FunctionalTests/quickstart_tests/Fundamentals/HangmanTestCase.php2
-rw-r--r--tests/FunctionalTests/quickstart_tests/Fundamentals/HelloWorldTestCase.php2
12 files changed, 12 insertions, 12 deletions
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", "");
diff --git a/tests/FunctionalTests/quickstart_tests/Fundamentals/HangmanTestCase.php b/tests/FunctionalTests/quickstart_tests/Fundamentals/HangmanTestCase.php
index 56bd4b4f..27537263 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", "");
+ $this->open("../../demos/quickstart/index.php?page=Fundamentals.Samples.Hangman.Home&functionaltest=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 d48015f0..8aea86f6 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", "");
+ $this->open("../../demos/quickstart/index.php?page=Fundamentals.Samples.HelloWorld.Home&functionaltest=true", "");
$this->verifyTitle("Hello World", "");
$this->clickAndWait("//input[@type='submit' and @value='Click Me']", "");
$this->clickAndWait("//input[@type='submit' and @value='Hello World']", "");