Skip to content

Software testing projects with various automation tools, i.e. Robot Framework and Selenium.

Notifications You must be signed in to change notification settings

olalabs/Test-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Test-automation

Software testing projects with various automation tools, i.e. Robot Framework and Selenium.

Table of contents

Robot Framework

POM Pattern

Projects includes test cases for the Mercury Newtours website. The structure of these projects is based on page object pattern.

Prerequisites and getting the tools:

Install

  1. Selenium
pip install selenium
  1. Robot Framework
pip install robotframework
  1. Robotframework Selenium Library
pip install robotframework-seleniumlibrary

In Pycharm

  1. Add this 3 tools above to project interpreter
  2. Install Intellibot @SeleniumLibrary Patched plugin

Next steps:

  1. Put your chromedriver .exe file to Scripts in Python Folder
  2. Add tools (path to Scripts in Python Folder) to path in environemnt variables: Control Panel -> System and Security -> System Properties -> Environment Variables

REST API Automation

Simple test cases for REST API HTTP reqests methods.

Prerequisites and getting the tools:

  1. requests
pip install requests
  1. robotframework-requests
pip install robotframework-requests
  1. robotframework-jsonlibrary
pip install robotframework-jsonlibrary

Don't forget to add this 3 libraries above to project interpreter in PyCharm IDE.

Selenium Webdriver

POM Pattern

Projects includes test cases for the Mercury Newtours website. The structure of these projects is based on page object pattern.

Prerequisites and getting the tools:

Install

pip install selenium

In your IDE you can add 'Create TestNG XML' plugin.

If you don't want to create maven project, you can also create java project and download dependencies specified in pom.xml. Next, compile downloaded dependecies - in IntelliJ IDEA:
Project -> project structure -> dependencies -> click + button -> select .jar file -> compile -> OK

REST API Testing BDD

VideoGame Rest API testing using Rest Assured Technologies: Rest Assured in Java, TestNG, Maven

Prerequisites and getting the tools:

  1. Download VideoGameDB API.

  2. Run application using Gradle. Go to VideoGameDB-master localization. Type in cmd window:

gradlew bootRun 

You can check out API documentation on SwaggerUI.

  1. Run tests from testing.xml file

About

Software testing projects with various automation tools, i.e. Robot Framework and Selenium.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published