diff options
Diffstat (limited to 'tests/FunctionalTests/README.txt')
-rw-r--r-- | tests/FunctionalTests/README.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/FunctionalTests/README.txt b/tests/FunctionalTests/README.txt index 189f69ad..06519092 100644 --- a/tests/FunctionalTests/README.txt +++ b/tests/FunctionalTests/README.txt @@ -48,11 +48,11 @@ class testMyButtonExample extends SeleniumTestCase {
function setup()
{
- //initializes $this->Page to be MyButtonExample instance
- $this->initPage(__FILE__);
+ //get the test page url
+ $page = Prado::getApplication()->getTestPage(__FILE__);
//open MyButtonExample page
- $this->open($this->Page->Request->TestUrl);
+ $this->open($page);
}
function testButtonClick()
|