Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.61 KB

readme.md

File metadata and controls

34 lines (25 loc) · 1.61 KB

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