TestNG Framework – A Practical Guide for Selenium Test Automation

TestNG Framework

TestNG in Selenium — My Honest Take After Years of Using It I’ll be straight with you. When I first heard ‘Just use JUnit, it’s simpler,’ I nodded and went along with it. Three months and a bloated test suite later, I was untangling execution order issues at 11pm on a Thursday. Not fun. TestNG […]

Selenium

TestNG Framework

Web browsers can be automated with Selenium, an open-source automation tool. It is mainly used for:  1. Testing of web applications.  2. Testing for regression.  3. Testing across browser. 4. Functional testing. 5. UI automation. Multiple programming languages, including Java, Python, C#, JavaScript, Ruby, and others, are supported.  Advantages of Selenium  1. Open Source (Free […]

Finding a Subdomain Takeover via CNAME Misconfiguration

TestNG Framework

Introduction During reconnaissance, I discovered a subdomain takeover vulnerability caused by a misconfigured DNS record pointing to an inactive third-party service. This misconfiguration allowed the possibility for an attacker to claim the resource and host malicious content under the organization’s domain. Subdomain takeover vulnerability occurs when a subdomain points to an unclaimed external service. Learn how it […]

File Upload Vulnerability

TestNG Framework

Introduction File upload functionality One of the most prevalent features in contemporary web apps is file upload functionality, which is also one of the riskiest when not used properly. I found a high-impact vulnerability during a recent security audit that started with a seemingly innocuous feature: uploading profile images. identifying dubious redirection in order to […]