Complete Automation Testing Tutorials

This would be your first example to start with Selenium.

The tag input specifies an input field where the user can enter data.


Single Input Field

First Let us try be very simple with only one input field and a Button

  • Enter your message
  • Click on 'Show Message' button to display message entered in input field
Two Input Fields

First Let us try with Two input fields and a Button

  • Enter Value for a
  • Enter Value for b
  • Click on 'Get Total' button to display the sum of two numbers 'a and b'