Codekru

How to Run Playwright Java Tests in Parallel?

If you’ve worked with Playwright, you already know it’s one of the most powerful modern automation tools for browser testing. Developed by Microsoft, Playwright supports cross-browser automation for Chromium, Firefox, and WebKit, and it’s gaining huge traction for end-to-end web testing. While Playwright shines with speed, reliability, and cross-browser support, many Java developers quickly notice […]

How to Run Playwright Java Tests in Parallel? Read More »

How to Run Selenium Tests in Parallel Using TestNG

In today’s fast-paced software development world, speed and efficiency in testing are no longer optional, they are must-haves. Running tests sequentially often becomes a bottleneck when test suites grow larger. Imagine having hundreds (or even thousands) of test cases and waiting hours for execution to complete. This is where parallel test execution in TestNG comes

How to Run Selenium Tests in Parallel Using TestNG Read More »

Handle Alert, Popup and Dialogs Using Playwright Java

When automating web applications with Playwright in Java, one common challenge testers face is dealing with alerts, popups, and dialog boxes. These are browser-level interruptions that require user action, such as clicking OK, choosing Cancel, or entering text before proceeding further. If these are not handled properly, your automation scripts can get stuck and fail.

Handle Alert, Popup and Dialogs Using Playwright Java Read More »

Upload and Download Files Using Playwright Java

When automating web applications with Playwright in Java, file upload and download scenarios are among the most common test cases you will encounter. From attaching a profile picture to downloading a PDF report, understanding how to handle file interactions in Playwright ensures your automation covers real-world workflows. In this article, we’ll cover: Throughout this article,

Upload and Download Files Using Playwright Java Read More »

Handling Checkboxes and RadioButtons in Playwright Java

When automating web applications, interacting with checkboxes and radio buttons is a common yet crucial task. Whether you are testing a signup form, a survey, or a settings page, handling these UI elements correctly ensures reliable and bug-free automation scripts. In Playwright Java, interacting with these elements requires understanding how to locate them accurately, change

Handling Checkboxes and RadioButtons in Playwright Java Read More »

How to Read Data from Excel in TestNG and Selenium

When building test automation frameworks with Selenium WebDriver and TestNG, one of the most common challenges is managing large sets of input data. Hardcoding values into test methods may work for small-scale tests, but for enterprise-level or real-world automation, this approach quickly becomes unscalable and brittle. To solve this, we often turn to data-driven testing,

How to Read Data from Excel in TestNG and Selenium Read More »

Constant Throughput Timer in Jmeter with examples

In performance testing with Apache JMeter, maintaining a consistent request rate is often crucial to simulate real-world user behavior and to identify how an application performs under a specific load. The Constant Throughput Timer (CTT) is a built‑in JMeter element designed precisely for this purpose. In this article, we will cover the Constant Throughput Timer (CTT) of

Constant Throughput Timer in Jmeter with examples Read More »