summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php')
-rwxr-xr-xtests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php b/tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php
index 21a5128d..99f21585 100755
--- a/tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php
+++ b/tests/FunctionalTests/active-controls/tests/PostLoadingTestCase.php
@@ -1,18 +1,19 @@
<?php
-class PostLoadingTestCase extends PradoGenericSeleniumTest
+class PostLoadingTestCase extends PradoGenericSelenium2Test
{
function test()
{
- $this->open('active-controls/index.php?page=PostLoadingTest');
+ $base="ctl0_Content_";
+ $this->url('active-controls/index.php?page=PostLoadingTest');
$this->assertTextPresent('PostLoading Test');
$this->assertTextNotPresent('Hello World');
$this->click('div1');
$this->pause(800);
- $this->type('MyTextBox', 'Hello World');
- $this->click('MyButton');
+ $this->type("{$base}MyTextBox", 'Hello World');
+ $this->click("{$base}MyButton");
$this->pause(800);
$this->assertTextPresent('Result is Hello World');