vivifyhealthcare / playwright_api_testing Goto Github PK
View Code? Open in Web Editor NEWAPI Automation Testing Via Playwright
Home Page: https://vivifyhealthcare.com/blogs
License: MIT License
API Automation Testing Via Playwright
Home Page: https://vivifyhealthcare.com/blogs
License: MIT License
Playwright provides a powerful and flexible API for automating web browsers and performing API testing. With its support for multiple browsers and its rich set of features, it can be a valuable tool for any Python developer looking to test their web applications.
Problem Statement
Testing Setup at one place for API Endpoints related to multiple Products/ Projects (Grouping) : Using Fixtures
Solution
Executing the Testcases for Specific Project form the reshaped Testing Code Block with Grouping of Endpoints with Product/Project and Save the Test Cases and their respective outcomes in to different collections. for example:
Additional context
By Using Fixtures on execution of the testing; test cases will be executed for the Specific Product/Project.
Problem Statement
Testing Setup at one place for API Endpoints related to multiple Products/ Projects (Grouping)
Solution
Reshaped the Testing Code Block for Grouping the Endpoints with Product/Project and Save the Test Cases and their respective outcomes in to different collections. for example:
Additional context
on execution of the testing; by default - test cases will be executed for both the Products, however it can be switched to specific by commenting the grouped API set.
About Playwright_Excel:
Excel Report for the API Testing via Playwright has been devised to represnt the data in the analytical form and and make it readily available for the asessment. Report in excel is easily understandable and highly customizable.
We are summarizing Data in excel for the set of API endpoints with the set of test cases executed having structutred like this Sample View shown below
Primarily, This customized report is prepaired to analyze endpoints working status, i.e. 200.
The report typically contains detailed information about the API and it's Sections; such as the name of the API, Status, Status code, API Type, Section Name, Date & Time of Execution, and the Environment Name. All these headers can be customized as per the usability and expected output for the visibility of the Report.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.