Skip to content

muriloleal13/seleniumTestsASU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated testing with Node.js and Selenium Webdriver

College project to Software Quality course of Computer Science Program at Universidade Federal de Santa Maria.

Getting Started 🚀

Automated testing with Node.js and Selenium Webdriver.

Requirements 📋

Node.js.

Geckodriver (for firefox). Tutorial until 5:45

Run Application 🔧

Clone the repository.

git clone https://github.com/muriloleal13/seleniumTestsASU

Install dependencies.

npm i faker@4.1.0 mocha@7.2.0 mochawesome@6.1.1 selenium-webdriver@4.0.0-alpha.7 --save-dev --unsafe-perm=true --allow-root

Run Test ⚙️

npm test

Folder Structure 🛠️

├── ...
│
├── lib                         # Helper methods
│   ├── base_page.js            # Generic functionality for tests
│   └── home_page_.js           # Home page testing functionality
│
├── test                        # Test suite
│   └── site.test.js            # Testing in home page
│
├── utils                       # Utility files for testing
│   ├── fake_data.js            # Generating random keyword for searching
│   └── locator.js              # CSS identifier for elements to test

Autor ✒️


About

Automated testing with Node.js and Selenium Webdriver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors