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


PHP WebGuy::makeScreenshot方法代码示例

本文整理汇总了PHP中WebGuy::makeScreenshot方法的典型用法代码示例。如果您正苦于以下问题:PHP WebGuy::makeScreenshot方法的具体用法?PHP WebGuy::makeScreenshot怎么用?PHP WebGuy::makeScreenshot使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在WebGuy的用法示例。


在下文中一共展示了WebGuy::makeScreenshot方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: WebGuy

<?php

$I = new WebGuy($scenario);
$I->wantTo('base check rsg2-latest-galleries for picture ');
// Direct call
//$I->amOnPage('http://127.0.0.1/Joomla3x/index.php/rsg2-latest-galleries');
$I->amOnPage('/index.php/rsg2-latest-galleries');
$I->makeScreenshot('base-rsg2-latest-galleries');
// Where i want to be
$I->see('RSG2 latest galleries');
开发者ID:RSGallery2,项目名称:RoboLiTasks,代码行数:10,代码来源:BaseViewLatestGalleriesCept.php

示例2: WebGuy

<?php

$I = new WebGuy($scenario);
$I->wantTo('base check component for picture ');
// Direct call
//$I->amOnPage('http://127.0.0.1/Joomla3x/index.php/gallery-view-plugin');
$I->amOnPage('/index.php');
$I->makeScreenshot('base-component-galleries');
// Where i want to be
//$I->see('Test RSG2 Gallery display plugin'');
开发者ID:RSGallery2,项目名称:RoboLiTasks,代码行数:10,代码来源:BaseViewComponentCept.php

示例3: WebGuy

$I = new WebGuy($scenario);
$I->wantTo('base check modules and plugins for images');
//--- Component control panel ------------------------------
// Direct mdules URL call
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_modules');
$I->amOnPage('/administrator/index.php?option=com_modules');
// Login first
$I->fillField("#mod-login-username", 'TestAdmin');
$I->fillField("#mod-login-password", 'PassAdmin');
$I->click('Log in');
//----------------------------------------------------------
// Modules
//----------------------------------------------------------
// Where i want to be
$I->makeScreenshot('Modules.SelectionPage');
$I->see('Modules');
//--- Image wall ----------------------------------------------
$I->click('RSGallery2 Image Wall module');
$I->makeScreenshot('Modules.ImageWall.Module');
// I see ...
$I->click('Menu Assignment');
$I->makeScreenshot('Modules.ImageWall.ModuleAssignment');
$I->click('Module Permissions');
$I->makeScreenshot('Modules.ImageWall.ModulePermissions');
$I->click('Advanced');
$I->makeScreenshot('Modules.ImageWall.Advanced');
$I->click('Close');
$I->amOnPage('/administrator/index.php?option=com_modules');
//--- Latest Images  ----------------------------------------------
$I->click('RSGallery2 Latest Images module ');
开发者ID:RSGallery2,项目名称:RoboLiTasks,代码行数:30,代码来源:BackViewsAllModulesCept.php

示例4: WebGuy

<?php

$I = new WebGuy($scenario);
$I->wantTo('base check component for picture ');
//--- Component control panel ------------------------------
// Direct install URL call
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsg2');
$I->amOnPage('/administrator/index.php?option=com_rsg2');
// Login first
$I->fillField("#mod-login-username", 'TestAdmin');
$I->fillField("#mod-login-password", 'PassAdmin');
$I->click('Log in');
// Where i want to be
$I->see('Control panel');
$I->makeScreenshot('FithRsg2Component.control-panel');
//----------------------------------------------------------
// Main sections
//----------------------------------------------------------
//--- Galleries --------------------------------------------
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsg2&view=galleries');
$I->amOnPage('/administrator/index.php?option=com_rsg2&view=galleries');
$I->see('Manage Galleries');
$I->makeScreenshot('FithRsg2Component.Galleries');
//--- Batch upload -----------------------------------------
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsg2&view=uploadBatch');
$I->amOnPage('/administrator/index.php?&view=uploadBatch');
$I->see('Batch upload');
$I->makeScreenshot('FithRsg2Component.Batch-upload');
//--- Upload -----------------------------------------------
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsg2&view=galleries');
$I->amOnPage('/administrator/index.php?option=com_rsg2');
开发者ID:RSGallery2,项目名称:RoboLiTasks,代码行数:31,代码来源:BackViewsFithRsg2ComponentCept.php

示例5: WebGuy

<?php

$I = new WebGuy($scenario);
$I->wantTo('back view main component for picture ');
//--- Component control panel ------------------------------
// Direct install URL call
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsgallery2');
$I->amOnPage('/administrator/index.php?option=com_rsgallery2');
// Login first
$I->fillField("#mod-login-username", 'TestAdmin');
$I->fillField("#mod-login-password", 'PassAdmin');
$I->click('Log in');
// Where i want to be
$I->makeScreenshot('Component.Control-panel');
$I->see('RSG2 Control panel');
//----------------------------------------------------------
// Main sections
//----------------------------------------------------------
//--- Galleries --------------------------------------------
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsgallery2&rsgOption=galleries');
$I->amOnPage('/administrator/index.php?option=com_rsgallery2&rsgOption=galleries');
$I->makeScreenshot('Component.Galleries');
$I->see('Manage Galleries');
//--- Batch upload -----------------------------------------
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsgallery2&rsgOption=images&task=batchupload');
$I->amOnPage('/administrator/index.php?option=com_rsgallery2&rsgOption=images&task=batchupload');
$I->makeScreenshot('Component.Batch-upload');
$I->see('Batch upload');
//--- Upload -----------------------------------------------
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsgallery2&rsgOption=images&task=upload');
$I->amOnPage('/administrator/index.php?option=com_rsgallery2&rsgOption=images&task=upload');
开发者ID:RSGallery2,项目名称:RoboLiTasks,代码行数:31,代码来源:BackViewsComponentCept.php


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