summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart/Controls
diff options
context:
space:
mode:
authorxue <>2006-06-10 11:28:30 +0000
committerxue <>2006-06-10 11:28:30 +0000
commitc6b4190fab88201f4efaa0d00a6aa823b180f482 (patch)
treee3be39a8eaefca800017dd866422b1039e1db77a /tests/FunctionalTests/quickstart/Controls
parent112d86bb08a1dd4bde14005f757c95b0fc7a5a21 (diff)
Merge from 3.0 branch till 1148.
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls')
-rw-r--r--tests/FunctionalTests/quickstart/Controls/Wizard1TestCase.php2
-rw-r--r--tests/FunctionalTests/quickstart/Controls/Wizard2TestCase.php2
-rw-r--r--tests/FunctionalTests/quickstart/Controls/Wizard3TestCase.php10
-rw-r--r--tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php6
4 files changed, 10 insertions, 10 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/Wizard1TestCase.php b/tests/FunctionalTests/quickstart/Controls/Wizard1TestCase.php
index ea071612..8b2da6f3 100644
--- a/tests/FunctionalTests/quickstart/Controls/Wizard1TestCase.php
+++ b/tests/FunctionalTests/quickstart/Controls/Wizard1TestCase.php
@@ -14,7 +14,7 @@ class Wizard1TestCase extends SeleniumTestCase
$this->verifyVisible('ctl0_body_Wizard1_SideBarList_ctl0_SideBarButton');
$this->verifyAttribute('ctl0_body_Wizard1_SideBarList_ctl1_SideBarButton@disabled','regexp:true|disabled');
$this->select('ctl0$body$Wizard1$DropDownList1', "label=Purple");
- $this->clickAndWait('ctl0$body$Wizard1$ctl8$ctl1');
+ $this->clickAndWait('ctl0$body$Wizard1$ctl6$ctl1');
// step 2
$this->verifyTextPresent('Your favorite color is: Purple');
diff --git a/tests/FunctionalTests/quickstart/Controls/Wizard2TestCase.php b/tests/FunctionalTests/quickstart/Controls/Wizard2TestCase.php
index ca94bb19..04d448cb 100644
--- a/tests/FunctionalTests/quickstart/Controls/Wizard2TestCase.php
+++ b/tests/FunctionalTests/quickstart/Controls/Wizard2TestCase.php
@@ -14,7 +14,7 @@ class Wizard2TestCase extends SeleniumTestCase
$this->verifyVisible('ctl0_body_Wizard1_SideBarList_ctl0_SideBarButton');
$this->verifyAttribute('ctl0_body_Wizard1_SideBarList_ctl1_SideBarButton@disabled','regexp:true|disabled');
$this->select('ctl0$body$Wizard1$DropDownList1', "label=Blue");
- $this->clickAndWait('ctl0$body$Wizard1$ctl8$ctl1');
+ $this->clickAndWait('ctl0$body$Wizard1$ctl6$ctl1');
// step 2
$this->verifyTextPresent('Your favorite color is: Blue');
diff --git a/tests/FunctionalTests/quickstart/Controls/Wizard3TestCase.php b/tests/FunctionalTests/quickstart/Controls/Wizard3TestCase.php
index 807e7dc6..855ed545 100644
--- a/tests/FunctionalTests/quickstart/Controls/Wizard3TestCase.php
+++ b/tests/FunctionalTests/quickstart/Controls/Wizard3TestCase.php
@@ -12,15 +12,15 @@ class Wizard3TestCase extends SeleniumTestCase
$this->verifyTextPresent('A Mini Survey');
$this->verifyTextPresent('PRADO QuickStart Sample');
$this->click('ctl0_body_Wizard3_StudentCheckBox');
- $this->clickAndWait('ctl0$body$Wizard3$ctl8$ctl0');
+ $this->clickAndWait('ctl0$body$Wizard3$ctl4$ctl0');
// step 2
$this->select('ctl0$body$Wizard3$DropDownList11', "label=Chemistry");
- $this->clickAndWait('ctl0$body$Wizard3$ctl9$ctl1');
+ $this->clickAndWait('ctl0$body$Wizard3$ctl5$ctl1');
// step 3
$this->select('ctl0$body$Wizard3$DropDownList22', "label=Tennis");
- $this->clickAndWait('ctl0$body$Wizard3$ctl10$ctl1');
+ $this->clickAndWait('ctl0$body$Wizard3$ctl6$ctl1');
// step 4
$this->verifyTextPresent('You are a college student');
@@ -31,11 +31,11 @@ class Wizard3TestCase extends SeleniumTestCase
$this->open("../../demos/quickstart/index.php?page=Controls.Samples.TWizard.Sample3&amp;notheme=true", "");
// step 1
- $this->clickAndWait('ctl0$body$Wizard3$ctl8$ctl0');
+ $this->clickAndWait('ctl0$body$Wizard3$ctl4$ctl0');
// step 3
$this->select('ctl0$body$Wizard3$DropDownList22', "label=Baseball");
- $this->clickAndWait('ctl0$body$Wizard3$ctl10$ctl1');
+ $this->clickAndWait('ctl0$body$Wizard3$ctl6$ctl1');
// step 4
$this->verifyTextNotPresent('You are a college student');
diff --git a/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php b/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php
index e25ce86d..b1df9213 100644
--- a/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php
+++ b/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php
@@ -14,11 +14,11 @@ class Wizard5TestCase extends SeleniumTestCase
$this->verifyVisible('ctl0_body_Wizard1_SideBarList_ctl1_SideBarButton');
$this->verifyAttribute('ctl0_body_Wizard1_SideBarList_ctl2_SideBarButton@disabled','regexp:true|disabled');
$this->select('ctl0_body_Wizard1_DropDownList1', "label=Cyan");
- $this->clickAndWait('ctl0$body$Wizard1$ctl6$ctl0');
+ $this->clickAndWait('ctl0$body$Wizard1$ctl4$ctl0');
// step 2
$this->select('ctl0_body_Wizard1_Step2_DropDownList2','label=Football');
- $this->clickAndWait('ctl0$body$Wizard1$ctl8$ctl0');
+ $this->clickAndWait('ctl0$body$Wizard1$ctl6$ctl0');
// step 1
$this->verifySelected('ctl0_body_Wizard1_DropDownList1','label=Cyan');
@@ -26,7 +26,7 @@ class Wizard5TestCase extends SeleniumTestCase
// step 2
$this->verifySelected('ctl0_body_Wizard1_Step2_DropDownList2','label=Football');
- $this->clickAndWait('ctl0$body$Wizard1$ctl8$ctl1');
+ $this->clickAndWait('ctl0$body$Wizard1$ctl6$ctl1');
// step 3
$this->verifyTextPresent('Your favorite color is: Cyan');