Demo Automation Practice Form

AUTOMATION PRACTICE FORM

This Selenium practice form is a free demo website designed to help testers automate common web elements like text fields, radio buttons, checkboxes, dropdowns, and file uploads using Selenium WebDriver. It is ideal for beginners, interview preparation, and hands-on automation practice. You can also refer, Selenium Tutorials Hub


First name: 

Last name: 

Gender:        Male    

Years of Experience:    1    2    3    4    5    6    

Date: 

Profession:     Manual Tester    


Automation Tools:      UFT      Protractor      Selenium Webdriver

Continents

Selenium Commands

Upload Image 



How to Automate the Selenium Practice Form Using WebDriver

This Selenium practice form is a demo web page designed to help you automate the most commonly used form elements found on real-world websites. By automating this form, you will practice and apply essential Selenium WebDriver commands required for end-to-end web automation.

The form includes the following web elements that every automation tester should know:

  • Links

  • Text input fields

  • Radio buttons

  • Date picker

  • Checkboxes

  • Single-select dropdown

  • Multi-select dropdown

  • Image upload button

  • File download link

Automating these elements will strengthen your understanding of element locators, user interactions, waits, and file handling in Selenium.


Steps to Automate the Practice Form with Selenium

  1. Open the Selenium practice form:
    https://www.techlistic.com/p/selenium-practice-form.html

  2. Enter the first name and last name in the text input fields.

  3. Select a gender using radio buttons.

  4. Choose years of experience using radio buttons.

  5. Enter a date using the date picker.

  6. Select your profession using checkboxes.

  7. Select the automation tools you are familiar with (multiple checkboxes).

  8. Choose a continent from the dropdown list.

  9. Select multiple Selenium commands from the multi-select dropdown.

  10. (Optional) Try automating the image upload feature. Beginners may skip this step.

  11. Click on the Download File link and handle the file download popup. If you are new to Selenium, you can skip this step.

  12. Click the Submit button to complete the form automation.


Practice Challenge

Try to automate this Selenium practice form using your own logic without referring to solutions. If you face difficulties, use the reference tutorials linked on this page to improve your approach.

Hands-on practice like this is the fastest way to build confidence in Selenium WebDriver automation.

Example Code:

package com.techlistic.tute;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.Dimension;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.Alert;
import org.openqa.selenium.Keys;
import java.util.*;
import java.net.MalformedURLException;
import java.net.URL;

public class PracticeFormTest {

    // Main Method is the execution point of any Java Program
    public static void main(String[] args){
        // Initialize Webdriver Object
        System.setProperty("webdriver.chrome.driver", "D:\\chromedriver.exe");
        WebDriver driver = new ChromeDriver();
        // Open URL
        driver.get("https://www.techlistic.com/p/selenium-practice-form.html");
        // Set Chrome window size
        driver.manage().window().setSize(new Dimension(1552, 840));

        // Enter Firstname & Lastname
        driver.findElement(By.name("firstname")).click();
        driver.findElement(By.name("firstname")).sendKeys("Tom");
        driver.findElement(By.name("lastname")).click();
        driver.findElement(By.name("lastname")).sendKeys("Wood");

        // Select Gender
        driver.findElement(By.id("sex-0")).click();
        // Select Experience
        driver.findElement(By.id("exp-4")).click();
        // Enter Date
        driver.findElement(By.id("datepicker")).click();
        driver.findElement(By.id("datepicker")).sendKeys("16-10-2020");
        // Select Profession
        driver.findElement(By.id("profession-1")).click();
        // Select Automation Tool
        driver.findElement(By.id("tool-2")).click();

        // Select Continent
        driver.findElement(By.id("continents")).click();
        WebElement dropdown = driver.findElement(By.id("continents"));
        dropdown.findElement(By.xpath("//option[. = 'Europe']")).click();

        // Select Command
        WebElement dropdown = driver.findElement(By.id("selenium_commands"));
        dropdown.findElement(By.xpath("//option[. = 'Browser Commands']")).click();

        // Scroll Vertical
        js.executeScript("window.scrollTo(0,675.5555419921875)");

        // Click Submit
        driver.findElement(By.id("submit")).click();
  }
}

Frequently Asked Questions (FAQ)

Q1: What is the Selenium practice form?

The Selenium practice form is a free demo web page designed to help testers practice automating common web elements using Selenium WebDriver. It includes text fields, radio buttons, checkboxes, dropdowns, file upload, and file download features that are frequently found on real-world websites.


Q2: Who should use this Selenium practice form?

This practice form is ideal for beginners learning Selenium, QA engineers preparing for interviews, and automation testers who want hands-on experience with WebDriver commands and element interactions.


Q3: Which Selenium WebDriver version can I use with this form?

You can use any recent version of Selenium WebDriver to automate this practice form. It works well with Selenium 3 and Selenium 4, across browsers like Chrome, Firefox, and Edge.


Q4: Which programming languages are supported for automation?

You can automate this Selenium practice form using Java, Python, C#, JavaScript, or Ruby, as supported by Selenium WebDriver. Choose the language you are most comfortable with.


Q5: Does this practice form support file upload and download automation?

Yes. The form includes an image upload button and a file download link. File upload can be automated using standard WebDriver methods, while file download handling may require browser-specific settings or preferences.


Automate GoDaddy with Selenium < Previous | Next > Automate Google Search

Popular posts from this blog

18 Demo Websites for Selenium Automation Practice in 2026

Mastering Selenium Practice: Automating Web Tables with Demo Examples

Selenium Automation for E-commerce Websites: End-to-End Testing Scenarios

14+ Best Selenium Practice Exercises to Master Automation Testing (with Code & Challenges)

What is Java Class and Object?

A Complete Software Testing Tutorial: The Importance, Process, Tools, and Learning Resources

Behavior-Driven Development (BDD) with Python Behave: A Complete Tutorial

Top 7 Web Development Trends in the Market (2026)

Top 10 Highly Paid Indian-Origin CEOs in the USA

How to Learn Selenium WebDriver in 4 Weeks: A Step-by-Step Self-Study Roadmap