From cabdcf135770bdd995d089f23890ed0dd45458aa Mon Sep 17 00:00:00 2001 From: tof <> Date: Thu, 26 Jul 2007 12:03:08 +0000 Subject: Make Quickstart Functional tests to use English --- tests/FunctionalTests/quickstart/Controls/BulletedListTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/ButtonTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/CheckBoxListTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/CheckBoxTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/DataGrid1TestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/DataGrid2TestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/DataGrid3TestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/DataGrid4TestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/DataGrid5TestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/DataGrid6TestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/DropDownListTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/ExpressionTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/HtmlAreaTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/HyperLinkTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/ImageButtonTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/ImageTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/LabelTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/LinkButtonTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/ListBoxTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/PagerTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/PanelTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/RadioButtonListTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/RadioButtonTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/Repeater1TestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/Repeater2TestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/Repeater3TestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/StatementsTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/TabPanelTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/TableTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/TextBoxTestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/Wizard1TestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/Wizard2TestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/Wizard3TestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/Wizard4TestCase.php | 2 +- tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php | 2 +- 38 files changed, 38 insertions(+), 38 deletions(-) (limited to 'tests/FunctionalTests/quickstart/Controls') diff --git a/tests/FunctionalTests/quickstart/Controls/BulletedListTestCase.php b/tests/FunctionalTests/quickstart/Controls/BulletedListTestCase.php index 4378fd78..23107824 100644 --- a/tests/FunctionalTests/quickstart/Controls/BulletedListTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/BulletedListTestCase.php @@ -4,7 +4,7 @@ class BulletedListTestCase extends SeleniumTestCase { function test() { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TBulletedList.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TBulletedList.Home&notheme=true&lang=en", ""); // verify if all required texts are present $this->verifyTextPresent('item 1',''); diff --git a/tests/FunctionalTests/quickstart/Controls/ButtonTestCase.php b/tests/FunctionalTests/quickstart/Controls/ButtonTestCase.php index 4a5e66e4..50458663 100644 --- a/tests/FunctionalTests/quickstart/Controls/ButtonTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/ButtonTestCase.php @@ -4,7 +4,7 @@ class ButtonTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TButton.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TButton.Home&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/CheckBoxListTestCase.php b/tests/FunctionalTests/quickstart/Controls/CheckBoxListTestCase.php index 09c05f2f..a28efd75 100644 --- a/tests/FunctionalTests/quickstart/Controls/CheckBoxListTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/CheckBoxListTestCase.php @@ -5,7 +5,7 @@ class CheckBoxListTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TCheckBoxList.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TCheckBoxList.Home&notheme=true&lang=en", ""); // Check box list with default settings: $this->click("//input[@name='ctl0\$body\$ctl0\$c0' and @value='value 1']", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/CheckBoxTestCase.php b/tests/FunctionalTests/quickstart/Controls/CheckBoxTestCase.php index f93786ab..464769d7 100644 --- a/tests/FunctionalTests/quickstart/Controls/CheckBoxTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/CheckBoxTestCase.php @@ -4,7 +4,7 @@ class CheckBoxTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TCheckBox.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TCheckBox.Home&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/DataGrid1TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataGrid1TestCase.php index 7336ff8d..41bb754b 100644 --- a/tests/FunctionalTests/quickstart/Controls/DataGrid1TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataGrid1TestCase.php @@ -4,7 +4,7 @@ class DataGrid1TestCase extends SeleniumTestCase { function test() { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataGrid.Sample1&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataGrid.Sample1&notheme=true&lang=en", ""); // verify if all required texts are present $this->verifyTextPresent('id',''); diff --git a/tests/FunctionalTests/quickstart/Controls/DataGrid2TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataGrid2TestCase.php index ae810bdc..3c01c29a 100644 --- a/tests/FunctionalTests/quickstart/Controls/DataGrid2TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataGrid2TestCase.php @@ -4,7 +4,7 @@ class DataGrid2TestCase extends SeleniumTestCase { function test() { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataGrid.Sample2&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataGrid.Sample2&notheme=true&lang=en", ""); // verify if all required texts are present $this->verifyTextPresent('Book Title',''); diff --git a/tests/FunctionalTests/quickstart/Controls/DataGrid3TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataGrid3TestCase.php index 116830b0..f084ff40 100644 --- a/tests/FunctionalTests/quickstart/Controls/DataGrid3TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataGrid3TestCase.php @@ -4,7 +4,7 @@ class DataGrid3TestCase extends SeleniumTestCase { function test() { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataGrid.Sample3&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataGrid.Sample3&notheme=true&lang=en", ""); // verify the 2nd row of data $this->verifyTextPresent("Design Patterns: Elements of Reusable Object-Oriented Software", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/DataGrid4TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataGrid4TestCase.php index 1bc1697c..0d36480c 100644 --- a/tests/FunctionalTests/quickstart/Controls/DataGrid4TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataGrid4TestCase.php @@ -4,7 +4,7 @@ class DataGrid4TestCase extends SeleniumTestCase { function test() { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataGrid.Sample4&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataGrid.Sample4&notheme=true&lang=en", ""); // verify the 2nd row of data $this->verifyTextPresent("Design Patterns: Elements of Reusable Object-Oriented Software", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/DataGrid5TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataGrid5TestCase.php index 43882418..065986ec 100644 --- a/tests/FunctionalTests/quickstart/Controls/DataGrid5TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataGrid5TestCase.php @@ -4,7 +4,7 @@ class DataGrid5TestCase extends SeleniumTestCase { function test() { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataGrid.Sample5&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataGrid.Sample5&notheme=true&lang=en", ""); // verify if all required texts are present // verify column headers diff --git a/tests/FunctionalTests/quickstart/Controls/DataGrid6TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataGrid6TestCase.php index ad6cd8ca..05368157 100644 --- a/tests/FunctionalTests/quickstart/Controls/DataGrid6TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataGrid6TestCase.php @@ -4,7 +4,7 @@ class DataGrid6TestCase extends SeleniumTestCase { function test() { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataGrid.Sample6&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataGrid.Sample6&notheme=true&lang=en", ""); // verify column headers $this->verifyTextPresent('id',''); diff --git a/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php index ef61b13f..75f0ff30 100644 --- a/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataList1TestCase.php @@ -4,7 +4,7 @@ class DataList1TestCase extends SeleniumTestCase { function test() { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataList.Sample1&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataList.Sample1&notheme=true&lang=en", ""); // verify if all required texts are present $this->verifyTextPresent('ITN001',''); diff --git a/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php b/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php index 8b4e6811..47e9bb94 100644 --- a/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DataList2TestCase.php @@ -4,7 +4,7 @@ class DataList2TestCase extends SeleniumTestCase { function test() { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataList.Sample2&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDataList.Sample2&notheme=true&lang=en", ""); // verify initial presentation $this->verifyTextPresent("Motherboard ", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/DropDownListTestCase.php b/tests/FunctionalTests/quickstart/Controls/DropDownListTestCase.php index 4c66236e..86ef3f00 100644 --- a/tests/FunctionalTests/quickstart/Controls/DropDownListTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DropDownListTestCase.php @@ -4,7 +4,7 @@ class DropDownListTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDropDownList.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TDropDownList.Home&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/ExpressionTestCase.php b/tests/FunctionalTests/quickstart/Controls/ExpressionTestCase.php index dfa1036f..793a1df0 100644 --- a/tests/FunctionalTests/quickstart/Controls/ExpressionTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/ExpressionTestCase.php @@ -4,7 +4,7 @@ class ExpressionTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TExpression.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TExpression.Home&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/HtmlAreaTestCase.php b/tests/FunctionalTests/quickstart/Controls/HtmlAreaTestCase.php index 212ff6b9..00055da6 100644 --- a/tests/FunctionalTests/quickstart/Controls/HtmlAreaTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/HtmlAreaTestCase.php @@ -4,7 +4,7 @@ class HtmlAreaTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.THtmlArea.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.THtmlArea.Home&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/HyperLinkTestCase.php b/tests/FunctionalTests/quickstart/Controls/HyperLinkTestCase.php index b0b964f8..b564c85a 100644 --- a/tests/FunctionalTests/quickstart/Controls/HyperLinkTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/HyperLinkTestCase.php @@ -4,7 +4,7 @@ class HyperLinkTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.THyperLink.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.THyperLink.Home&notheme=true&lang=en", ""); $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/Controls/ImageButtonTestCase.php b/tests/FunctionalTests/quickstart/Controls/ImageButtonTestCase.php index c01d2173..fb40fbea 100644 --- a/tests/FunctionalTests/quickstart/Controls/ImageButtonTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/ImageButtonTestCase.php @@ -4,7 +4,7 @@ class ImageButtonTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TImageButton.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TImageButton.Home&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/ImageTestCase.php b/tests/FunctionalTests/quickstart/Controls/ImageTestCase.php index a0ad6d6b..c95b94d7 100644 --- a/tests/FunctionalTests/quickstart/Controls/ImageTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/ImageTestCase.php @@ -5,7 +5,7 @@ class ImageTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TImage.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TImage.Home&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/LabelTestCase.php b/tests/FunctionalTests/quickstart/Controls/LabelTestCase.php index aa045e0c..4dc4d5f4 100644 --- a/tests/FunctionalTests/quickstart/Controls/LabelTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/LabelTestCase.php @@ -5,7 +5,7 @@ class LabelTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TLabel.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TLabel.Home&notheme=true&lang=en", ""); $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/Controls/LinkButtonTestCase.php b/tests/FunctionalTests/quickstart/Controls/LinkButtonTestCase.php index 806c151e..49fd1f9b 100644 --- a/tests/FunctionalTests/quickstart/Controls/LinkButtonTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/LinkButtonTestCase.php @@ -4,7 +4,7 @@ class LinkButtonTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TLinkButton.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TLinkButton.Home&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/ListBoxTestCase.php b/tests/FunctionalTests/quickstart/Controls/ListBoxTestCase.php index 7ed2b10f..182bbd25 100644 --- a/tests/FunctionalTests/quickstart/Controls/ListBoxTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/ListBoxTestCase.php @@ -5,7 +5,7 @@ class ListBoxTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TListBox.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TListBox.Home&notheme=true&lang=en", ""); // a default single selection listbox $this->verifyAttribute("ctl0\$body\$ctl0@size","4"); diff --git a/tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php b/tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php index 90f67901..33a79124 100644 --- a/tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php @@ -4,7 +4,7 @@ class MultiViewTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TMultiView.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TMultiView.Home&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/PagerTestCase.php b/tests/FunctionalTests/quickstart/Controls/PagerTestCase.php index 2ecb3452..c1ff9209 100644 --- a/tests/FunctionalTests/quickstart/Controls/PagerTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/PagerTestCase.php @@ -4,7 +4,7 @@ class PagerTestCase extends SeleniumTestCase { function test() { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TPager.Sample1&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TPager.Sample1&notheme=true&lang=en", ""); // verify datalist content $this->verifyTextPresent('ITN001',''); diff --git a/tests/FunctionalTests/quickstart/Controls/PanelTestCase.php b/tests/FunctionalTests/quickstart/Controls/PanelTestCase.php index a73c76d4..086fb4c1 100644 --- a/tests/FunctionalTests/quickstart/Controls/PanelTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/PanelTestCase.php @@ -4,7 +4,7 @@ class PanelTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TPanel.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TPanel.Home&notheme=true&lang=en", ""); $this->verifyTextPresent("This is panel content with", ""); $this->verifyElementPresent("//span[text()='label']"); $this->verifyTextPresent("grouping text", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/RadioButtonListTestCase.php b/tests/FunctionalTests/quickstart/Controls/RadioButtonListTestCase.php index 82cae1bf..8e64cc3e 100644 --- a/tests/FunctionalTests/quickstart/Controls/RadioButtonListTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/RadioButtonListTestCase.php @@ -5,7 +5,7 @@ class RadioButtonListTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRadioButtonList.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRadioButtonList.Home&notheme=true&lang=en", ""); // RadioButton list with default settings: $this->click("//input[@name='ctl0\$body\$ctl0' and @value='value 3']", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/RadioButtonTestCase.php b/tests/FunctionalTests/quickstart/Controls/RadioButtonTestCase.php index 57a7145c..09f0238d 100644 --- a/tests/FunctionalTests/quickstart/Controls/RadioButtonTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/RadioButtonTestCase.php @@ -4,7 +4,7 @@ class RadioButtonTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRadioButton.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRadioButton.Home&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/Repeater1TestCase.php b/tests/FunctionalTests/quickstart/Controls/Repeater1TestCase.php index e0b5a49c..e0c8cede 100644 --- a/tests/FunctionalTests/quickstart/Controls/Repeater1TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/Repeater1TestCase.php @@ -4,7 +4,7 @@ class Repeater1TestCase extends SeleniumTestCase { function test() { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRepeater.Sample1&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRepeater.Sample1&notheme=true&lang=en", ""); // verify if all required texts are present $this->verifyTextPresent('ID',''); diff --git a/tests/FunctionalTests/quickstart/Controls/Repeater2TestCase.php b/tests/FunctionalTests/quickstart/Controls/Repeater2TestCase.php index 08a8c3da..59cff7a0 100644 --- a/tests/FunctionalTests/quickstart/Controls/Repeater2TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/Repeater2TestCase.php @@ -4,7 +4,7 @@ class Repeater2TestCase extends SeleniumTestCase { function test() { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRepeater.Sample2&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRepeater.Sample2&notheme=true&lang=en", ""); // verify if all required texts are present $this->verifyTextPresent('North',''); diff --git a/tests/FunctionalTests/quickstart/Controls/Repeater3TestCase.php b/tests/FunctionalTests/quickstart/Controls/Repeater3TestCase.php index d34d6747..60d68d33 100644 --- a/tests/FunctionalTests/quickstart/Controls/Repeater3TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/Repeater3TestCase.php @@ -4,7 +4,7 @@ class Repeater3TestCase extends SeleniumTestCase { function test() { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRepeater.Sample3&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRepeater.Sample3&notheme=true&lang=en", ""); // verify product name is required $this->verifyNotVisible('ctl0_body_Repeater_ctl0_ctl0'); diff --git a/tests/FunctionalTests/quickstart/Controls/StatementsTestCase.php b/tests/FunctionalTests/quickstart/Controls/StatementsTestCase.php index 93844296..783b0b6c 100644 --- a/tests/FunctionalTests/quickstart/Controls/StatementsTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/StatementsTestCase.php @@ -4,7 +4,7 @@ class StatementsTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TStatements.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TStatements.Home&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/TabPanelTestCase.php b/tests/FunctionalTests/quickstart/Controls/TabPanelTestCase.php index 77143b78..b60a8047 100644 --- a/tests/FunctionalTests/quickstart/Controls/TabPanelTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/TabPanelTestCase.php @@ -4,7 +4,7 @@ class TabPanelTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TTabPanel.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TTabPanel.Home&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/TableTestCase.php b/tests/FunctionalTests/quickstart/Controls/TableTestCase.php index e9bd63be..2dbc695c 100644 --- a/tests/FunctionalTests/quickstart/Controls/TableTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/TableTestCase.php @@ -4,7 +4,7 @@ class TableTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TTable.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TTable.Home&notheme=true&lang=en", ""); $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/Controls/TextBoxTestCase.php b/tests/FunctionalTests/quickstart/Controls/TextBoxTestCase.php index cf101502..c20bf871 100644 --- a/tests/FunctionalTests/quickstart/Controls/TextBoxTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/TextBoxTestCase.php @@ -4,7 +4,7 @@ class TextBoxTestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TTextBox.Home&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TTextBox.Home&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/Wizard1TestCase.php b/tests/FunctionalTests/quickstart/Controls/Wizard1TestCase.php index 8b2da6f3..80e8bbe9 100644 --- a/tests/FunctionalTests/quickstart/Controls/Wizard1TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/Wizard1TestCase.php @@ -4,7 +4,7 @@ class Wizard1TestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TWizard.Sample1&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TWizard.Sample1&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/Wizard2TestCase.php b/tests/FunctionalTests/quickstart/Controls/Wizard2TestCase.php index 04d448cb..ba5f66c3 100644 --- a/tests/FunctionalTests/quickstart/Controls/Wizard2TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/Wizard2TestCase.php @@ -4,7 +4,7 @@ class Wizard2TestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TWizard.Sample2&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TWizard.Sample2&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/Wizard3TestCase.php b/tests/FunctionalTests/quickstart/Controls/Wizard3TestCase.php index 855ed545..1172d31c 100644 --- a/tests/FunctionalTests/quickstart/Controls/Wizard3TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/Wizard3TestCase.php @@ -4,7 +4,7 @@ class Wizard3TestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TWizard.Sample3&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TWizard.Sample3&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/Wizard4TestCase.php b/tests/FunctionalTests/quickstart/Controls/Wizard4TestCase.php index 41fd7dd2..d0cc8ac1 100644 --- a/tests/FunctionalTests/quickstart/Controls/Wizard4TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/Wizard4TestCase.php @@ -4,7 +4,7 @@ class Wizard4TestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TWizard.Sample4&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TWizard.Sample4&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); diff --git a/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php b/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php index b1df9213..d892cd3b 100644 --- a/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php @@ -4,7 +4,7 @@ class Wizard5TestCase extends SeleniumTestCase { function test () { - $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TWizard.Sample5&notheme=true", ""); + $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TWizard.Sample5&notheme=true&lang=en", ""); $this->verifyTitle("PRADO QuickStart Sample", ""); -- cgit v1.2.3