This section has really simple HTML elements so that you can understand their basic nature. Feel free to practice your test automation on these elements.

 

Click button using ClassName

Click button using Name

Simple Controls

Button

Radio buttons

Click and validate that they are selected

Male
Female
Other

Checkboxes

Select a checkbox and validate that they are selected

I have a bike
I have a car

Dropdown

Select an option and validate that it is selected
tab 1 content
Tab 2 content

Advanced Controls

Open toggle to read text
Open toggle to read text

HTML Table with unique id

Title Work Salary
Software Development Engineer in Test Automation $150,000+
Automation Testing Architect Automation $120,000+
Quality Assurance Engineer Manual $50,000+

HTML Table with no id

Title Work Salary
Software Development Engineer in Test Automation $150,000+
Automation Testing Architect Automation $120,000+
Quality Assurance Engineer Manual $50,000+

Common Scenarios

Click here to login

XPath tutorial for automation testers

2. Button 2 - same exact button, different place in the HTML

Xpath with different button text

2. Button 2 - same exact button, different place in the HTML

Highlight me

Highlight me

Highlight me

Pin It on Pinterest

Shares
Share This