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.
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.
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.
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.
AutomationTaskInsider/src/test/java/resources/screenshots.
emailable-report.html
file.
For further details, you can refer to this screenshot: https://prnt.sc/J7mRvy4cxPF1, https://prnt.sc/iF-f1a1h3-nnFor this part,
Load Test Files.zip
file has been prepared and can be found in the project folder.n11TestPlan.jmx
, which was created using JMeter. .jmx file
can be loaded into JMeter to execute the load test and analyze the performance results for the n11 application, testing its behavior under different levels of traffic.
Note: These test cases are designed to validate various functional and performance aspects of the application, ensuring that key features work as expected and that the system behaves correctly under load.
Relevant tests and details can be found in the following screenshot: https://prnt.sc/kH0uGf2nZ7VR.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.
GET v2/pet
),GET v2/pet/{petId}
),DELETE v2/pet/{petId}
),GET v2/pet/{petId}
),GET v2/pet/findByStatus?status={status}
),PUT v2/pet
). 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.