amOnPage('/'); $I->see('Nombre de usuario'); $I->fillField('_username', 'admin'); $I->fillField('_password', 'admin'); $I->click('_submit'); $I->wait('3'); } catch(\Exception $e){ } #Screen lista Dash FTTH try{ $I->amOnUrl('http://ftth.fd3.flowdat.com/admin/dashboard'); $I->makeScreenshot($head."/".$directorio.'15dashftth'); $I->scrollTo(['css' => 'h3.box-title'], 0, 0); $I->makeScreenshot($head."/".$directorio.'15dashftth1'); } catch(\Exception $e){ } #Screen lista ONU try{ $I->amOnUrl('http://ftth.fd3.flowdat.com/admin/ftth/onu/list'); $I->makeScreenshot($head."/".$directorio.'16ONU'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0); $I->makeScreenshot($head."/".$directorio.'16ONU1'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600); $I->makeScreenshot($head."/".$directorio.'16ONU2'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 1200); $I->makeScreenshot($head."/".$directorio.'16ONU3'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 1800); $I->makeScreenshot($head."/".$directorio.'16ONU4'); } catch(\Exception $e){ } #Screen lista OLT try{ $I->amOnUrl('http://ftth.fd3.flowdat.com/admin/ftth/olt/list'); $I->makeScreenshot($head."/".$directorio.'17OLT'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0); $I->makeScreenshot($head."/".$directorio.'17OLT1'); } catch(\Exception $e){ } #Screen lista Modelo OLT try{ $I->amOnUrl('http://ftth.fd3.flowdat.com/admin/ftth/oltmodel/list'); $I->makeScreenshot($head."/".$directorio.'18mOLT'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0); $I->makeScreenshot($head."/".$directorio.'18mOLT1'); } catch(\Exception $e){ } #Screen lista Modelo ONU try{ $I->amOnUrl('http://ftth.fd3.flowdat.com/admin/ftth/onumodel/list'); $I->makeScreenshot($head."/".$directorio.'19mONU'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0); $I->makeScreenshot($head."/".$directorio.'19mONU1'); } catch(\Exception $e){ } #Screen lista Perfiles try{ $I->amOnUrl('http://ftth.fd3.flowdat.com/admin/ftth/profile/list'); $I->makeScreenshot($head."/".$directorio.'20perfiles'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0); $I->makeScreenshot($head."/".$directorio.'20perfiles1'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600); $I->makeScreenshot($head."/".$directorio.'20perfiles2'); } catch(\Exception $e){ } #Screen lista NAP try{ $I->amOnUrl('http://ftth.fd3.flowdat.com/admin/ftth/nap/list'); $I->makeScreenshot($head."/".$directorio.'21NAP'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0); $I->makeScreenshot($head."/".$directorio.'21NAP1'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600); $I->makeScreenshot($head."/".$directorio.'21NAP2'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 1200); $I->makeScreenshot($head."/".$directorio.'21NAP3'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 1800); $I->makeScreenshot($head."/".$directorio.'21NAP4'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 2400); $I->makeScreenshot($head."/".$directorio.'21NAP5'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 3000); $I->makeScreenshot($head."/".$directorio.'21NAP5'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 3600); $I->makeScreenshot($head."/".$directorio.'21NAP6'); } catch(\Exception $e){ } #Screen lista Workflow FTTH try{ $I->amOnUrl('http://ftth.fd3.flowdat.com/admin/workflow/workflow/list'); $I->makeScreenshot($head."/".$directorio.'22workflowftth'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0); $I->makeScreenshot($head."/".$directorio.'22workflowftth1'); } catch(\Exception $e){ } #Screen lista Acciones FTTH try{ $I->amOnUrl('http://ftth.fd3.flowdat.com/admin/workflow/action/list'); $I->makeScreenshot($head."/".$directorio.'23accionftth'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0); $I->makeScreenshot($head."/".$directorio.'23accionftth1'); } catch(\Exception $e){ } #Screen lista Template FTTH try{ $I->amOnUrl('http://ftth.fd3.flowdat.com/admin/template/template/list'); $I->makeScreenshot($head."/".$directorio.'24templateftth'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 0); $I->makeScreenshot($head."/".$directorio.'24templateftth1'); $I->scrollTo(['id' => 'list_batch_checkbox'], 0, 600); $I->makeScreenshot($head."/".$directorio.'24templateftth2'); } catch(\Exception $e){ } } }