An Overview of Selenium

Selenium Tutorial

An Overview of Selenium, What is Selenium?, Features of Selenium, Selenium History, Selenium Components, and Selenium Automation Framework. Selenium Overview 1. What is Selenium? 2. Features of Selenium 3. Selenium History 4. Selenium Components / Selenium’s Tool Suite 5. Platforms supported by Selenium 6. Advantages of Selenium 7. Drawbacks of Selenium 8. Selenium Test Environment … Read more

How does Selenium testing tool work?

selenium tutorial

How does Selenium testing tool work? How does Selenium testing tool work?, Selenium test environment setup, Inspecting elements, Locating elements in Selenium, Selenium WebDriver methods, and writing Selenium Test Cases. Selenium automates browsers, primarily it is for automating web applications for testing purposes, and Boring web-based administration tasks can also be automated as well. > … Read more

Writing Selenium Test Cases

Selenium Tutorial

Interview Questions on Writing Selenium Test Cases 1) What is Selenium Test Environment Setup? 2) Why Selenium Test Environment? 3) How to Setup Selenium Test Environment? 4) What are the Prerequisites to Write Selenium Test Cases? 5) How to conduct Selenium Batch Testing? 6) How to conduct Selenium Cross Browser Testing? 7) How to conduct … Read more

Automating a Manual Test Case

Automating a Manual Test Case using Selenium 1) Create a Manual Test Case 2) Automate the Manual Test Case using Selenium 3) Exception Handling for Selenium Test Case —————————— 1) Create a Manual Test Case I am taking a Manual Test Case, that is Generic Test Case, “Verify Gmail Link existence in Google Home Page” … Read more

Selenium Live Project

Functional Test Automation using Selenium Project Info: Project Domain: Ecommerce Sub-Domain: B2C (Business to Customer) Application: Online Shopping Portal Application Environment: LAMP (Linux, Apache, MySQL, PHP) Production: Internet Public Application Test Environment: Intranet (Company Local Network) Project Description: This web portal provides interface in between Vendors/Manufacturers and Customers, Vendors place their products and sell, Customer … Read more

Handling Elements in Selenium Part-2

Handling Elements in Selenium Part-2 i) Handle Browser ii) Handle Edit box iii) Handle Text Area, Error Message, Window Dialog iv) handle Button ———————– Return/Capture value from Edit box public static void main(String[] args) { WebDriver driver = new FirefoxDriver(); driver.get(“https://www.gmail.com”); driver.findElement(By.id(“Email”)).sendKeys(“India123”); System.out.println(driver.findElement(By.id(“Email”)).getAttribute(“value”)); } } ———————– v) Handle Image Three types of Image elements in … Read more

Handling Elements in Selenium WebDriver

Handling Elements in Selenium WebDriver Pre-requisites to create Test cases in Selenium i) Element Locators (To recognize/identify Elements) ii) WebDriver Methods (To perform operations on Elements) iii) Programming features (To enhance Test cases) ——————————————– iv) TestNG Annotations (Grouping Test Cases, Test Batch execution and generating reports.) i) Element Locators 1) id 2) name 3) className … Read more

Selenium Test Life Cycle

Selenium Test Life Cycle Phases : i) Test Planning ii) Generating Basic Tests iii) Enhancing Tests iv) Running and Debugging Tests v) Analyzing Test Results and Reporting Defects ———————————— i) Test Planning > Get Application Environment (UI Design Technology, Database) Details from development team. > Analyze the AUT (Application Under Test) in terms of Object … Read more