diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/tests/ActiveImageButtonTestCase.php')
-rwxr-xr-x | tests/FunctionalTests/active-controls/tests/ActiveImageButtonTestCase.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/ActiveImageButtonTestCase.php b/tests/FunctionalTests/active-controls/tests/ActiveImageButtonTestCase.php index 2989ab27..0d9f219d 100755 --- a/tests/FunctionalTests/active-controls/tests/ActiveImageButtonTestCase.php +++ b/tests/FunctionalTests/active-controls/tests/ActiveImageButtonTestCase.php @@ -1,13 +1,14 @@ <?php -class ActiveImageButtonTestCase extends PradoGenericSeleniumTest +class ActiveImageButtonTestCase extends PradoGenericSelenium2Test { function test() { - $this->open("active-controls/index.php?page=ActiveImageButtonTest"); + $base='ctl0_Content_'; + $this->url("active-controls/index.php?page=ActiveImageButtonTest"); $this->assertTextPresent("TActiveImageButton Functional Test"); - $this->assertText("label1", "Label 1"); - $this->click("image1"); + $this->assertText("{$base}label1", "Label 1"); + $this->click("{$base}image1"); $this->pause(800); //unable to determine mouse position $this->assertTextPresent("regexp:Image clicked at x=\d+, y=\d+"); |