本文整理汇总了PHP中JoomlaWebdriverTestCase::setUp方法的典型用法代码示例。如果您正苦于以下问题:PHP JoomlaWebdriverTestCase::setUp方法的具体用法?PHP JoomlaWebdriverTestCase::setUp怎么用?PHP JoomlaWebdriverTestCase::setUp使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JoomlaWebdriverTestCase
的用法示例。
在下文中一共展示了JoomlaWebdriverTestCase::setUp方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: setUp
public function setUp()
{
parent::setUp();
$cpPage = $this->doAdminLogin();
/* @var $cpPage ControlPanelPage */
$this->moduleManagerPage = $cpPage->clickMenu('Module Manager', 'ModuleManagerPage');
}
示例2: setUp
/**
* Login to back end and navigate to menu Language Manager.
*
* @since 3.0
*/
public function setUp()
{
parent::setUp();
$cpPage = $this->doAdminLogin();
$this->tagManagerPage = $cpPage->clickMenu('Language Manager', 'LanguageManagerPage');
$this->driver->findElement(By::xPath("//ul/li/a[@href='index.php?option=com_languages&view=languages']"))->click();
}
示例3: setUp
/**
* Login and start test.
*
* @since 3.2
*/
public function setUp()
{
$cfg = new SeleniumConfig();
parent::setUp();
$homePageUrl = 'index.php';
$this->driver->get($cfg->host . $cfg->path . $homePageUrl);
$this->doSiteLogin();
$url = $cfg->host . $cfg->path . $homePageUrl . '?option=com_config&view=config&controller=config.display.config';
$this->siteHomePage = $this->getPageObject('SiteConfigurationConfigPage', true, $url);
$this->previousMetaDescription = $this->siteHomePage->getMetaDescription();
}
示例4: setUp
/**
* Login and start test.
*
* @return void
*
* @since 3.2
*/
public function setUp()
{
$cfg = new SeleniumConfig();
parent::setUp();
$homePageUrl = 'index.php';
$this->driver->get($cfg->host . $cfg->path . $homePageUrl);
$this->doSiteLogin();
$url = $cfg->host . $cfg->path . $homePageUrl . '?option=com_config&view=templates&controller=config.display.templates';
$this->siteHomePage = $this->getPageObject('SiteConfigurationTemplatePage', true, $url);
$this->previousBackgroundColor = $this->siteHomePage->getBackgroundColor();
}
示例5: setUp
public function setUp()
{
parent::setUp();
$cpPage = $this->doAdminLogin();
$this->levelManagerPage = $cpPage->clickMenu('Access Levels', 'LevelManagerPage');
}
示例6: setUp
/**
* Login to back end and navigate to menu Tags.
*
* @since 3.0
*/
public function setUp()
{
parent::setUp();
$cpPage = $this->doAdminLogin();
$this->categoryManagerPage = $cpPage->clickMenu('Category Manager', 'CategoryManagerPage');
}
示例7: setUp
/**
* Login to back end and navigate to menu Contacts.
*
* @since 3.2
*/
public function setUp()
{
parent::setUp();
$cpPage = $this->doAdminLogin();
$this->contactManagerPage = $cpPage->clickMenu('Contacts', 'ContactManagerPage');
}
示例8: setUp
public function setUp()
{
parent::setUp();
$cpPage = $this->doAdminLogin();
$this->gcPage = $cpPage->clickMenu('Global Configuration', 'GlobalConfigurationPage');
}
示例9: setUp
/**
* Login to back end and navigate to menu Tags.
*
* @since 3.2
*/
public function setUp()
{
$cfg = new SeleniumConfig();
parent::setUp();
$this->driver->get($cfg->host . $cfg->path);
}
示例10: setUp
/**
* Login to back end and navigate to menu item manager.
*
* @since 3.0
*/
public function setUp()
{
parent::setUp();
$cpPage = $this->doAdminLogin();
$this->menuItemsManagerPage = $cpPage->clickMenu('Main Menu', 'MenuItemsManagerPage');
}
示例11: setUp
/**
* Login to back end and navigate to menu Tags.
*
* @since 3.0
*/
public function setUp()
{
parent::setUp();
$cpPage = $this->doAdminLogin();
$this->tagManagerPage = $cpPage->clickMenu('Tags', 'TagManagerPage');
}
示例12: setUp
/**
* Login to back end and navigate to menu Language Manager.
*
* @return void
*
* @since 3.0
*/
public function setUp()
{
parent::setUp();
$cpPage = $this->doAdminLogin();
$this->userNotesManagerPage = $cpPage->clickMenu('User Notes', 'UserNotesManagerPage');
}
示例13: setUp
/**
* Login to back end and navigate to menu Weblinks.
*
* @since 3.2
*/
public function setUp()
{
parent::setUp();
$cpPage = $this->doAdminLogin();
$this->weblinkManagerPage = $cpPage->clickMenu('Weblinks', 'WeblinkManagerPage');
}
示例14: setUp
/**
* Login to back end and navigate to menu .
*
* @return void
*
* @since 3.0
*/
public function setUp()
{
parent::setUp();
$cpPage = $this->doAdminLogin();
$this->pluginManagerPage = $cpPage->clickMenu('Template Manager', 'TemplateManagerPage');
}
示例15: setUp
/**
* Login to back end and navigate to menu Contacts.
*
* @since 3.2
*/
public function setUp()
{
parent::setUp();
$cpPage = $this->doAdminLogin();
$this->categoryManagerPage = $cpPage->clickMenuByUrl('com_categories&extension=com_contact', 'CategoryManagerPage');
}