diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-01-06 22:34:49 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2014-01-06 22:34:49 +0100 |
commit | 5d9f6fc77131d75e6c73a7e57df8d967b6b09215 (patch) | |
tree | 6dc4083ddb2e40b3616e5be795725f901df42fc5 /tests/FunctionalTests/active-controls | |
parent | c09ff85baefcd84e399ca7987c738a76865732ab (diff) |
Fixed some function tests; start working on porting them to Selenium2 interface
Diffstat (limited to 'tests/FunctionalTests/active-controls')
-rwxr-xr-x | tests/FunctionalTests/active-controls/tests/ActiveButtonTestCase.php | 4 |
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!"); } |