NashTech Blog

Streamlining End-to-End Testing without Automation Experts

Table of Contents
purple and pink lights tunnel in the park

Introduction

In today’s IT landscape, automation testing plays a pivotal role in the success of numerous projects. It is essential to select the appropriate programming language and framework to continuously advance in the field of automation testing. Among the available options, Playwright stands out as a versatile framework designed for web testing and automation. Developed by Microsoft, Playwright allows you to test and automate web applications across a wide range of browsers and platforms, including Chromium, Firefox, WebKit, and Microsoft Edge, using a single API. Playwright boasts several advantageous features, such as auto-wait, web-first assertions, tracing, code generation, and more.

Why We Chose Playwright for Our Project?

Our project faces several challenges, including the need to navigate complex systems and fulfill a substantial volume of tasks while working with limited Quality Control (QC) resources. Moreover, our testing approach relies heavily on UI-based end-to-end (E2E) testing for individual features. Notably, our project lacks dedicated automation testing experts; however, we do have frontend (FE) resources with the capability to collaborate with manual QC experts in constructing an automation testing framework.

The decision to adopt Playwright was motivated by our desire to reduce costs and harness the available resources within our project. The synergy between Playwright and Cucumber facilitates the definition of features and the creation of scenarios, making it accessible for Business Analysts (BA), QC professionals, and FE developers to participate in the testing process.

 

Implementation Strategy

To address these challenges, we initiated a kick-off meeting with key stakeholders, including BAs, QCs, and Technical Architects (TAs), to establish the scope of automation testing implementation. We meticulously examined our systems to identify the most resource-intensive and time-consuming feature. Subsequently, manual QC experts collaborated to define features and formulate test scenarios. FE developers leveraged TypeScript and JavaScript to script the steps for these features.

 

Achievements

Implementing Playwright for automated testing of our project’s core features has yielded significant benefits. QC teams have experienced substantial time savings, allowing them to allocate resources to other critical tasks. Additionally, we have maximized the utilization of redundant project resources, ultimately enhancing productivity and delivering increased value.

 

Conclusion

In conclusion, Playwright is a powerful test automation library that facilitates the creation of end-to-end tests for web applications across diverse browsers and devices. It empowers automation of complex scenarios, including interactions like clicking, typing, scrolling, and dragging and dropping. Furthermore, Playwright offers support for advanced features such as capturing screenshots, recording videos, mocking network interactions, and measuring code coverage.

By adopting Playwright in our project, we have not only streamlined our E2E testing process but also harnessed our existing resources effectively, ultimately leading to improved efficiency and productivity in our software development lifecycle.

Here is demo for Playwright

[videopress RvXDf99K]

 

 

Reference:

https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DSW3TqvhrzU4&psig=AOvVaw0O1XcDOg-gmjQ2zxZI984m&ust=1714184471866000&source=images&cd=vfe&opi=89978449&ved=0CBIQjRxqFwoTCIjxtPfo3oUDFQAAAAAdAAAAABAE

https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.healthepro.com%2Fright-tools-can-help-save-time-money%2F&psig=AOvVaw1hCles-s1u1ID2h7XSDSSB&ust=1714184886180000&source=images&cd=vfe&opi=89978449&ved=0CBIQjRxqFwoTCLCSk7vq3oUDFQAAAAAdAAAAABAE

https://www.google.com/url?sa=i&url=https%3A%2F%2Fdev.to%2Fazure%2F003-lets-automate-playwright-testing-with-github-actions-g1l&psig=AOvVaw33W65l7N-xlX4BNbdJPuiu&ust=1714184996660000&source=images&cd=vfe&opi=89978449&ved=0CBIQjRxqFwoTCKDB7vDq3oUDFQAAAAAdAAAAABAE

https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.cornerstonedynamics.com%2Fthe-ultimate-approach-for-successful-meetings%2F&psig=AOvVaw3wVJt6eklZEAoY4Ncrf4Je&ust=1714185073890000&source=images&cd=vfe&opi=89978449&ved=0CBIQjRxqFwoTCKjB7p7r3oUDFQAAAAAdAAAAABAE

 

 

 

 

Picture of hang pham

hang pham

I am a Senior Quality Control at NashTech with 7 years experience in software testing. I'm strong in manual testing across various platforms including Web, Mobile Application, Windows.

Leave a Comment

Your email address will not be published. Required fields are marked *

Suggested Article

Scroll to Top