Automation Playground

Master real-world automation scenarios with interactive elements and instant code feedback.

ramtechnicalhelp
Progress: 0%
Time: 00:00
LANGUAGE
Basic Level
Advanced Level

Login Form Basic

Passed
Task: Enter 'admin' and 'password123' to login. Basic ID-based automation.
ID: auto_username, auto_password, auto_login_btn
Step 1: Strategy Locate the input fields using their unique IDs.
Step 2: Input Use sendKeys("admin") and sendKeys("password123").
Java
Python
driver.findElement(By.id("basic-user")).sendKeys("admin"); driver.findElement(By.id("basic-pass")).sendKeys("password123"); driver.findElement(By.xpath("//button[text()='Login']")).click();

Dropdown Selection Basic

Passed
Task: Select 'Selenium' from the tools dropdown using the Select class.
ID: tools-dropdown
Step 1: Strategy Wrap the element in a Select class object.
Step 2: Selection Use select.selectByValue("selenium").
Java
Python
Select select = new Select(driver.findElement(By.id("tools-dropdown"))); select.selectByValue("selenium");

Checkbox & Radio Basic

Passed
Task: Select 'Cucumber' and 'Standard' plan.
Java
Python
driver.findElement(By.id("check_cucumber")).click(); driver.findElement(By.id("radio_standard")).click();

Simple Alerts Basic

Passed
Task: Trigger and accept the JS alert.

File Upload Basic

Passed
Task: Upload any file using sendKeys path.
No file selected

Web Tables Basic

Passed
Task: Extract the ID for 'Sita' from the table.
Name ID
Ram 101
Sita 102

Dynamic Search Basic

Passed
Task: Search for 'Cypress' and click the search button.
  • Selenium WebDriver
  • Playwright Automation
  • Cypress Framework
  • Appium Mobile
Step 1: Type Use sendKeys("Cypress") on the search input.
Step 2: Action Click the search icon button.

Dynamic IDs Dynamic

Passed
Task: Click the button. Note: Its ID starts with 'btn_' followed by random numbers.

Stale Element Stale

Passed
Task: Click 'Refresh DOM', then click the target. Handle DOM refresh.
Java
Python
// Tip: Re-initialize the element after DOM refresh WebElement btn = driver.findElement(By.id("stale-target")); driver.findElement(By.button_refresh).click(); btn = driver.findElement(By.id("stale-target")); // Fix btn.click();

Broken Locator Fix Me

Passed
Task: Inspect to find the correct ID (current: 'wrong-id') and click.

Hidden & JS Click JS Click

Passed
Task: The 'Secret' button is hidden. Click it using JavaScriptExecutor.

Style: display:none

Explicit Wait Sync

Passed
Task: Wait for the Secret Key (5-8s delay) using WebDriverWait.
Java
Python
WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(10)); driver.findElement(By.id("sync-trigger")).click(); WebElement key = wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("secret-key"))); System.out.println(key.getText());

Nested iFrames SwitchTo

Passed
Task: Switch into the frame and click the inner button.

Shadow DOM Isolated

Passed
Task: Access the button HIDDEN inside a Shadow Root and click it.
Step 1: Strategy Find the 'Shadow Host' element first.
Step 2: Access Use host.getShadowRoot() (Java) or host.shadow_root (Python).
Step 3: Action Find the button inside that root and click it.
Certificate
of Automation Mastery
This is proudly awarded to
STUDENT NAME
For successfully completing the Advanced Automation Learning Path, demonstrating proficiency in Shadow DOM, Dynamic Locators, Stale Element handling, and Industry-standard Practices.