Skip to content

Latest commit

 

History

History
95 lines (64 loc) · 4.3 KB

README.md

File metadata and controls

95 lines (64 loc) · 4.3 KB

🛠️ Stori QA Automation Engineer Challenge

⛏️ Daniel Felipe Hernández Mancipe


This project is the solution for the Stori QA Automation Engineer Challenge.

Getting Started

Prerequisites

  • Node.js => 20.14.0
  • npm => 10.7.0
  • Android Studio => Koala 2024.1.1
  • Android SDK Platform => Android 13.0 ("Tiramisu") API Level 33
  • Set up ANDROID_HOME
  • Android SDK Platform-Tools => 35.0.1
  • Android Emulator => 34.2.15
  • Java JDK => 8
  • Set up JAVA_HOME

Installing

Install Appium using npm:

npm install -g appium

Install the UiAutomator2 driver:

appium driver install uiautomator2

Lastly, just clone this repository:

git clone <url>

Using

Just call the runner with your desired browser and device:

python3 runner.py --browser <browser> --avd <avd>

The argument browser could be: chrome (by default), firefox, or opera.

The argument avd is the name of the Android Virtual Device that is set up, for instance, this is my test device via the Android Virtual Devices Manger of Android Studio:

What it looks like when running on Firefox:

After the execution, the XML and HTML reports are generated in /reports/<browser>/pytest-html/report.html and /reports/<browser>/junit-xml/report.xml

RTM report

Test Case ID Switch-Window-Header–Spelling
Developer Developer 1
Test Group UI – Spelling
Test Case Name Misspelling in header
Priority/Severity low/low
Test Steps 1. Go to /AutomationPractice
2. Go to Switch Window Example section
3. Click on Open Window button
4. See the Opening Hours in the header
Expected Result Monday to Saturday
Tester Quality Engineer 1
Actual Result Monday to Saturay
Status Fail
Evidence

Built With

  • Appium => 4.0.0 - UI automation (cross-browser and cross-platform)
  • Pytest => 8.2.2 - Python testing framework
  • Pytest-BDD => 7.2.0 - Subset of Gherkin for Python
  • Pytest-HTML => 4.1.1 - Plugin for generating HTML reports
  • Git => 2.30.2 - Version Management

Authors

  • Daniel Hernández - Initial work - danielhndz
  • Last update: 24/07/2024

License

This project is licensed under the GPLv3 License - see the LICENSE.md file for details