AleynaSarisinn / AutomationTask-UI-API-DB

0 stars 0 forks source link

Insider Test Automation Task

Table of Contents

Overview

This project involved automating tests for UI, load, and API functionalities across different platforms. UI testing focused on navigating the Insider website, verifying job listings, and validating specific role details, while load testing was conducted using JMeter on the n11 search module. Additionally, comprehensive API testing was carried out for CRUD operations on Swagger Petstore, covering both positive and negative scenarios.

Test Automation UI Testing Part

Requirements:

1 - Programming Language and Framework: The test case should be written using any programming language and framework. Preferred options: Python or Java with Selenium. Note: BDD frameworks (such as Cucumber, Quantum, Codeception, etc.) are not allowed.

2- Failure Handling: If the test case fails at any step, a screenshot should be automatically taken to capture the failure.

3- Browser Compatibility: The test case should be capable of running on both Chrome and Firefox browsers. The browser selection should be parameterized, allowing easy switching between browsers without modifying the code.

4- Page Object Model (POM) Compliance: The test code must adhere to the principles of the Page Object Model (POM), ensuring that the test structure is modular and maintainable.

Task Instructions:

1 - Verify Insider Home Page:

2 - Navigate to Careers Page:

3 - Filter QA Jobs in Istanbul: -Go to the Quality Assurance page

4 - Validate Job Listings: For all listed jobs, confirm that:

5 - Verify Job Details:

-Click on the "View Role" button for any job listing. -Ensure that the role details are displayed correctly.

Explanation of Performed UI Testing Part

In this test scenario, navigated from the homepage to the careers page, verifying the correct loading of various blocks. Then, moved to the QA page and confirm that it opens properly. Afterward, we navigate to the job listings page, apply location and position filters, and verify that the job listings display correctly based on the criteria. Proceed to apply for a specific job and ensure that the job application page contains the correct URL and displays the correct job position. Throughout the process, SoftAssert is used to validate each step, and results are reported.

Test automation - Load Testing Part

Requirements:

Explanation of Performed Load Testing Part : JMeter Test Plan and Test Cases for n11 Application

For this part,

Test automation - API Testing Part

Requirements:

Explanation of Performed API Testing Part :Comprehensive Testing of CRUD Operations for Swagger Petstore API

A total of 11 test cases were created to test the CRUD operations of the Petstore API available atSwagger Petstore.

These test cases cover both positive and negative scenarios for various endpoints.

In positive scenarios, the expected HTTP status code is 200, indicating successful operations. Negative cases were tested by intentionally sending malformed requests using the sendWrongRequest method to validate how the system handles invalid inputs, expecting HTTP status codes 400 or 404. Relevant tests and details can be found in the following screenshot: https://prnt.sc/wcmFStuQ-Tyt.