Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/memgonzales/automation-testing-selenium-robot

Exercise on automation testing of web apps via Selenium IDE and RobotFramework
https://github.com/memgonzales/automation-testing-selenium-robot

automated-testing qa-automation qa-automation-test robot-framework selenium-ide software-engineering

Last synced: 3 days ago
JSON representation

Exercise on automation testing of web apps via Selenium IDE and RobotFramework

Awesome Lists containing this project

README

        

# Selenium IDE & RobotFramework Exercise
![badge][badge-selenium]

The objective of this exercise is to introduce students to **automation testing of web applications** using [Selenium IDE](https://www.selenium.dev/selenium-ide/) and [RobotFramework](https://robotframework.org/).

## Task
This is an exercise in an advanced software engineering class under Ms. Unisse C. Chua of the Department of Software Technology, De La Salle University. The instructions are as follows:

1. Go to [SauceDemo.com](https://www.saucedemo.com/) (this is a dummy/fake website for practicing automation tests).
2. Try out different username and account combinations to see what happens.
3. Follow the test steps below and record the steps using the Selenium IDE.
4. Add an assertion step based on what you have observed the expected outcome should be (from Step 2).

Note: It is not going to be a check on the page title because they do not change the page title.
5. Save the scripts as an `.SIDE` project for reference for your RobotFramework scripts.
6. Update your initial RobotFramework exercise scripts to have the following test cases:
- Successful user log in
- Unsuccessful user log in by a locked out user
- Typed wrong password
- Logged in as problem user and sees a broken inventory page
- Sort product name (A to Z)
- Sort product name (Z to A)
- Sort product price (low to high)
- Sort product price (high to low)

## Project Structure
This submission contains the following files and directories:

File/Directory | Description
-- | --
`sauce_demo_selenium_ide.side` | `.SIDE` project file (Selenium IDE recordings)
`tests` | Folder containing the `.robot` files (RobotFramework)
`log.html`
`output.xml`
`report.html` | Report after running the RobotFramework tests

## Screenshots
The screenshots of the passed Selenium IDE and RobotFramework automated tests are shown below:

selenium

selenium

## Author
- Mark Edward M. Gonzales

[email protected]

[email protected]

[badge-selenium]: https://img.shields.io/badge/Selenium-43B02A?style=flat&logo=Selenium&logoColor=white