Coder Social home page Coder Social logo

shannonh / ts-selenium-set-interviews Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 44 KB

Super basic skeleton for use in technical interviews for software engineers in test. Makes use of Protractor, Jasmine, Chromedriver, Typescript and uses Yarn as its package manager.

License: MIT License

TypeScript 100.00%
selenium-js selenium-javascript protractor chromedriver typescript

ts-selenium-set-interviews's Introduction

Selenium Skeleton Project for Technical Interviews

This project contains a basic Protractor/Jasmine/Webdriver framework that includes Chromedriver for direct connect usage. The project uses the page object model to break ultra pages into sections and then provide methods per page section.

Run on Repl.it

Installation:

  1. Clone the repository
  2. Move into the new directory
  3. Install the package by running yarn
  4. To watch the single provided test go through its process, run yarn test

Development:

This package makes use of an .env file that you can add to the base of the project. There are 4 values needed to start the tests properly:

learnAdminUsername=  
learnAdminPassword= 
baseUrl=
seleniumServerUrl=

*These have to be for a working Ultra Learn instance

  1. Add all driver and assertion methods in the page_objects directory
  2. Add specs to the tests directory
  3. Additional specs or suites can be specified in the protractor.conf.ts file
  4. Logging is also controlled in the protractor.conf.ts file (see Protractor site for more info on which types of logging can be controlled from this config file)

More information about page object model:

Protractor docs about POM

Understanding how promises work with POM

ts-selenium-set-interviews's People

Contributors

shannonh avatar

Stargazers

 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.