Android UI Automation Using Python and uiautomator2 | by Maksim Vialykh | Apr, 2025

Android UI Automation Using Python and uiautomator2 | by Maksim Vialykh | Apr, 2025

Basic Operations with uiautomator2 Once connected, you can start interacting with the device! Launch an App d.app_start(“com.example.yourapp”) Find UI Elements You can find elements by: text resourceId className description (accessibility id) Example: # Find a button by textd(text=”Login”).click()# Find an input field by resourceIdd(resourceId=”com.example:id/username”).set_text(“test_user”)# Find by description (useful for icons)d(description=”Settings”).click() Perform Common Actions d.press(“home”) # … Read more

Why I Started Using Dependency Injection in Python

Why I Started Using Dependency Injection in Python

When I first started building real-world projects in Python, I was excited just to get things working. I had classes calling other classes, services spun up inside constructors, and everything somehow held together. But deep down, I knew something was off. Why? My code felt clunky. Testing was a nightmare. Changing one part broke three … Read more

Build Your First AI Model in Python

Build Your First AI Model in Python

Artificial Intelligence (AI) brings fundamental changes to healthcare, finance, manufacturing and customer service through automatic information processing and data-driven insights that lead to smarter business decisions. Artificial learning systems and machine learning models power this shift, identifying patterns and large datasets even without direct human intervention.  In order to enhance AI models and optimize solutions, … Read more

How to Create a Python curses-Enabled Application

How to Create a Python curses-Enabled Application

In the first part of this programming tutorial series, “Python curses, Part 1: Drawing With Text,” we learned how to install and setup the Python curses module, which is related to the C ncurses library. Today, we will continue that discussion as we create our first “Hello, World!” example using the curses library. Creating a … Read more

Python curses, Part 1: Drawing With Text

Python curses, Part 1: Drawing With Text

Most user interaction with Linux is done from afar via SSH connections and console applications. This, of course, is the continuing legacy of Linux’s “text only” roots, and many of these console applications tend to be “boring” workhorses which spit out line after line of output, with the occasional user input breaking up the monotony. … Read more

“HOW TO DEVELOP A CALLING AGENT WITHOUT USING PYTHON” | by Hitesh Sonawane | Apr, 2025

“HOW TO DEVELOP A CALLING AGENT WITHOUT USING PYTHON” | by Hitesh Sonawane | Apr, 2025

“HOW TO DEVELOP A CALLING AGENT WITHOUT USING PYTHON” Developing a calling agent is no longer confined to the Python ecosystem. With the evolution of modern APIs and SDKs, you can build robust and scalable calling agents using a variety of technologies tailored to your platform and development environment. This blog post explores several non-Python … Read more

Python Packages for Validating Database Migration Projects

Python Packages for Validating Database Migration Projects

Database migrations are critical projects in software systems, ensuring that data is seamlessly transferred from legacy databases to modern systems without corruption, loss, or performance degradation.  As software testing professionals, validating database migrations is essential to ensuring data integrity and consistency. Python provides several packages to facilitate database validation. This article analyzes the most useful … Read more

Python, Open-Source Libraries for Efficient PDF Management

Python, Open-Source Libraries for Efficient PDF Management

Python has become a popular choice for developers working with PDF documents because it’s flexible and has many free libraries available. Whether you need to create PDFs, edit them, extract information, or analyze them, Python has strong tools to help.  This guide looks at different Python libraries for handling PDFs, compares what they offer, and … Read more

Best Ways to Write Clean and Quality Python Code

Best Ways to Write Clean and Quality Python Code

When considering whether to use classes in Python code, it’s important to weigh the benefits and contexts where they are most appropriate. Classes are a key feature of object-oriented programming (OOP) and can provide clear advantages in terms of organization, reusability, and encapsulation. However, not every problem requires OOP. When to Use Classes Encapsulation and … Read more