summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php')
-rwxr-xr-xtests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php b/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php
index eb5edb3b..8fbd59c5 100755
--- a/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php
+++ b/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php
@@ -1,17 +1,17 @@
<?php
-class QuickstartWizard5TestCase extends PradoGenericSeleniumTest
+class QuickstartWizard5TestCase extends PradoGenericSelenium2Test
{
function test ()
{
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TWizard.Sample5&amp;notheme=true&amp;lang=en", "");
+ $this->url("../../demos/quickstart/index.php?page=Controls.Samples.TWizard.Sample5&amp;notheme=true&amp;lang=en");
$this->verifyTitle("PRADO QuickStart Sample", "");
// step 1
- $this->verifyTextPresent('Please let us know your preference');
- $this->verifyVisible('ctl0_body_Wizard1_SideBarList_ctl0_SideBarButton');
- $this->verifyVisible('ctl0_body_Wizard1_SideBarList_ctl1_SideBarButton');
+ $this->assertTextPresent('Please let us know your preference');
+ $this->assertVisible('ctl0_body_Wizard1_SideBarList_ctl0_SideBarButton');
+ $this->assertVisible('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$ctl4$ctl0');
@@ -29,7 +29,7 @@ class QuickstartWizard5TestCase extends PradoGenericSeleniumTest
$this->clickAndWait('ctl0$body$Wizard1$ctl6$ctl1');
// step 3
- $this->verifyTextPresent('Your favorite color is: Cyan');
- $this->verifyTextPresent('Your favorite sport is: Football');
+ $this->assertTextPresent('Your favorite color is: Cyan');
+ $this->assertTextPresent('Your favorite sport is: Football');
}
}