Wednesday, July 2, 2025

πŸ” Testing an ML Model ≠ Testing Traditional Code


 Testing a Machine Learning (ML) model is very different from testing traditional software because:

  • The output is probabilistic, not deterministic.

  • The behavior depends on data patterns, not just logic.

To test an ML model effectively, you need a multi-layered strategy combining functionaldata-driven, and performance-based testing.


✅ 1. Unit Testing the ML Pipeline (Code-Level)

πŸ” What to Test:

  • Data preprocessing methods (normalization, encoding)

  • Feature extraction logic

  • Model loading and inference function

πŸ’‘ Example:

Monday, June 30, 2025

πŸ•΅️‍♂️ SVG vs Shadow DOM in Selenium: A Tester’s Guide with Real-World Examples


Have you ever clicked an element in Selenium, only to watch nothing happen—again and again? Welcome to the world of SVGs and Shadow DOMs, where traditional locators fail and frustration often begins.

In this post, we’ll demystify these tricky elements, explain how to work with them in Selenium (Java), and walk through real-world examples that every automation engineer should know.


🧩 What Are SVG and Shadow DOM?

My Profile

My photo
can be reached at 09916017317