当前位置: 首页>>代码示例>>PHP>>正文


PHP JoomlaWebdriverTestCase::setUp方法代码示例

本文整理汇总了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');
 }
开发者ID:karimzg,项目名称:joomla,代码行数:7,代码来源:ModuleManager0001Test.php

示例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();
 }
开发者ID:shoffmann52,项目名称:install-from-web-server,代码行数:12,代码来源:LanguageManager0002Test.php

示例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();
 }
开发者ID:shoffmann52,项目名称:install-from-web-server,代码行数:16,代码来源:ConfigFrontEnd0002Test.php

示例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();
 }
开发者ID:klas,项目名称:joomla-cms,代码行数:18,代码来源:TemplateFrontEnd0002Test.php

示例5: setUp

 public function setUp()
 {
     parent::setUp();
     $cpPage = $this->doAdminLogin();
     $this->levelManagerPage = $cpPage->clickMenu('Access Levels', 'LevelManagerPage');
 }
开发者ID:rasiodesign,项目名称:joomla-cms,代码行数:6,代码来源:LevelManager0001Test.php

示例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');
 }
开发者ID:sural98,项目名称:joomla-cms,代码行数:11,代码来源:CategoryManager0002Test.php

示例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');
 }
开发者ID:shoffmann52,项目名称:install-from-web-server,代码行数:11,代码来源:ContactManager0002Test.php

示例8: setUp

 public function setUp()
 {
     parent::setUp();
     $cpPage = $this->doAdminLogin();
     $this->gcPage = $cpPage->clickMenu('Global Configuration', 'GlobalConfigurationPage');
 }
开发者ID:rasiodesign,项目名称:joomla-cms,代码行数:6,代码来源:GlobalConfiguration0001Test.php

示例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);
 }
开发者ID:shoffmann52,项目名称:install-from-web-server,代码行数:11,代码来源:ArticleManager0003Test.php

示例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');
 }
开发者ID:karimzg,项目名称:joomla,代码行数:11,代码来源:MenuItemsManager0001Test.php

示例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');
 }
开发者ID:akirsoft,项目名称:joomla-cms,代码行数:11,代码来源:TagManager0001Test.php

示例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');
 }
开发者ID:klas,项目名称:joomla-cms,代码行数:13,代码来源:UserNotesManager0001Test.php

示例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');
 }
开发者ID:sural98,项目名称:joomla-cms,代码行数:11,代码来源:WeblinkManager0002Test.php

示例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');
 }
开发者ID:klas,项目名称:joomla-cms,代码行数:13,代码来源:TemplateManager0001Test.php

示例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');
 }
开发者ID:sural98,项目名称:joomla-cms,代码行数:11,代码来源:CategoryManager0001Test.php


注:本文中的JoomlaWebdriverTestCase::setUp方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。