+91 88606 33966            edu_sales@siriam.in                   Job Opening : On-site Functional Trainer/Instructor | Supply Chain Management (SCM)
Blog

How to Take Screenshot in Selenium WebDriver

This article explains how to capture screenshots using Selenium WebDriver in Python. It includes screenshots of a specific web element and the entire webpage. The captured screenshots are saved in a specified directory on the local machine. 1. Create a Python file 2. Locate the web element and take a screenshot of that particular element […]

How to handles Drop down in selenium

This article demonstrates how to handle dropdown menus using the Select class in Selenium with Python. By interacting with a dropdown on the Selenium web form page, we perform operations such as selecting options by visible text, value, and index, retrieving the currently selected option, and printing all available options. Tasks The Selenium web form […]

How to Handle Alerts and Popups in Selenium

In this article, we will explore how to handle different types of JavaScript popups — alerts, confirm boxes, and prompt boxes — using Selenium. Each popup requires immediate user interaction and can be managed with driver.switch_to.alert. We will use methods like accept(), dismiss(), and send_keys() to interact with these. Follow the below steps to implement […]

Locating Strategies in Selenium : Locating by Id

Locators in Selenium are essential tools that help automate the tests to identify and interact with elements on a web page within the Document Object Model (DOM). It acts as a unique identifier for web elements, allowing testers to perform various actions such as clicking buttons, entering text, or validating the presence of elements. Selenium […]

Installing Selenium and Configuring Web Driver

This article setting up Selenium for web automation by installing the Selenium library using pip. Additionally, you’ll configure the required WebDriver (e.g., ChromeDriver or GeckoDriver) to interact with web browsers, ensuring your environment is ready for seamless browser automation. Install Selenium via pip Verify the installation Download the Appropriate WebDriver Selenium requires a browser-specific WebDriver […]

5 Major Differences Between Terraform and CloudFormation

Infrastructure as Code (IaC) tools make managing cloud infrastructure easier and more efficient. Two popular options are Terraform and AWS CloudFormation. Let’s explore their key differences in an easy-to-read format: 1. Multi-Cloud vs. Single Cloud 2. Language and Simplicity 3. State Management 4. Resource Support and Flexibility 5. Rollbacks and Error Handling Which One Should […]

Selenium Python Example: How to run your first Test?

This activity involves automating a simple web interaction using Selenium. In this case, we’ll perform the following tasks: Prerequisites To run Selenium Python Tests here are the steps to follow: Import Necessary Librarie from selenium import webdriverimport time webdriver: This module provides the tools to control web browsers using Selenium. time: Standard Python library used […]

JUnit5: The Test Lifecycle

In JUnit 5, lifecycle methods are special methods that manage tests’ setup and teardown process. They allow developers to perform tasks before and after each test or the entire test suite. This helps prepare the test environment and clean up resources afterwards. The process is driven through four primary annotations  that are @BeforeAll, @BeforeEach, @AfterEach, and […]

Master JUnit 5: The Ultimate Guide to Java Testing

JUnit is a popular open-source testing framework for Java that allows developers to write and run tests for their Java applications. It is widely used for unit testing, which involves testing individual components or methods of an application to ensure they behave as expected. JUnit is a key tool in the Test-Driven Development (TDD) methodology, […]

Scroll to top