Skip to content

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

Notifications You must be signed in to change notification settings

ShannonH/ts-selenium-set-interviews

Repository files navigation

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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published