Coder Social home page Coder Social logo

xfh / protractor-recorder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ealves/protractor-recorder

0.0 2.0 0.0 1.33 MB

Record, export and run tests with protractor for angular and non angular webapps

License: MIT License

JavaScript 72.90% HTML 27.10%

protractor-recorder's Introduction

Protractor Recorder

A web interface to record interactions and export to Protractor.

Demonstration

Example with more three interactions. This demo shows assertive with failure and success, after editing the value inside last action.

Alt Text

Features

General options

  • Base URL;
  • Run speed;
  • List of available drivers;

Record

  • Clicks on elements;
  • Send keys to inputs;
  • Assertions with mouse selection;
  • Mouse moves;
  • Duplicate actions;
  • Drag and drop actions to reorder;
  • Run actions while recording with 'Run from here' option.

Export

  • Selenium Address;
  • Window maximize;
  • Tests with login pages;

Dependencies

  • NodeJs 4.x;
  • Npm 2.x;
  • Bower 1.x;
  • Gulp 3.x;
  • Protractor 3.x.

Getting Started

After install all dependencies successfully, clone this repository and change directory to 'protractor-recorder':

$ git clone https://github.com/ealves/protractor-recorder.git
$ cd protractor-recorder

Execute the following commands to install npm and bower dependencies to Protractor Recorder:

$ npm install
$ bower install

Running Protractor Recorder

Now you will need run two different process, following the order:

#1 - Selenium Webdriver Manager

  • First, start selenium with Protractor Webdriver Manager:
$ webdriver-manager start

#2 - Protractor Recorder Material Interface

  • Start the Angular Material web interface, run:
$ gulp

Usage

  • Access http://localhost:3000/app
  • Enter a url base and click on 'Record' to start recording
  • After end up your test flow on Selenium browser's session, click on 'Export' to export conf.js and spec.js inside folder public/exports.
  • Click on 'Run' to see your test running with a new Selenium session.

protractor-recorder's People

Contributors

ealves avatar vladoros avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.