summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls')
-rwxr-xr-xtests/FunctionalTests/active-controls/tests/ActiveButtonTestCase.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/ActiveButtonTestCase.php b/tests/FunctionalTests/active-controls/tests/ActiveButtonTestCase.php
index c8fcfa57..880c46fe 100755
--- a/tests/FunctionalTests/active-controls/tests/ActiveButtonTestCase.php
+++ b/tests/FunctionalTests/active-controls/tests/ActiveButtonTestCase.php
@@ -1,13 +1,13 @@
<?php
-class ActiveButtonTestCase extends PradoGenericSeleniumTest
+class ActiveButtonTestCase extends PradoGenericSelenium2Test
{
function test()
{
$this->open("active-controls/index.php?page=ActiveButtonTest");
$this->verifyTextPresent("TActiveButton Functional Test");
$this->assertText("label1", "Label 1");
- $this->click("button2");
+ $this->clickOnElement("button2");
$this->pause(800);
$this->assertText("label1", "Button 1 was clicked using callback!");
}