本文整理汇总了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');
示例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'');
示例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 ');
示例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');
示例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');