What is Validation in Selenium?

0 votes
Why do we use validation in selenium and what is its significance?

What are the significant UI validations?
Dec 24, 2018 in Selenium by Anjali
• 2,950 points
2,863 views

1 answer to this question.

0 votes

Validation in selenium means checking wether all the UI elements are rendered on the webpage or not.

common use of Validation can be for checking whether the hidden elements are actually hidden or not.

Validation also used to check that all the forms are working or not, all the input field is editable or not.

The types of validation that are generally done are as follows:

  • Page Title Validation
  • Page URL Validation
  • Scroll Down
  • Verifying hidden elements
  • Checkbox Validations
  • Radio button Validations
  • To verify whether a dropdown allows multiple selections or not.
  • Read-only property of WebElement.
  • Check if an Element exists or not.
  • Textbox value validation
  • Disabled/Enabled property of a Web Element
  • Page Content Validations
answered Dec 24, 2018 by Nabarupa

Related Questions In Selenium

0 votes
2 answers

What is the role of TestNG & JUnit frameworks in Selenium?

TestNG and JUnit are test frameworks . it ...READ MORE

answered Sep 4 in Selenium by Sri
• 2,970 points
891 views
0 votes
2 answers
0 votes
2 answers

What is following-sibling in selenium?

Xpath=//*[@type='text']//following::input[2] READ MORE

answered Sep 4 in Selenium by Sri
• 2,970 points
7,457 views
0 votes
2 answers

What is Page Object Model in Selenium WebDriver?

POM is one of design pattern. maintenance  should ...READ MORE

answered Sep 4 in Selenium by Sri
• 2,970 points
458 views
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,520 points
3,806 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31 in Selenium by Sri
• 2,970 points
4,787 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,890 points
2,758 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 2 in Selenium by Sri
• 2,970 points
3,122 views
0 votes
1 answer

What is TestNG and why it is used in selenium?

Hello @User, Talking about TestNG, it is an ...READ MORE

answered Dec 24, 2018 in Selenium by Shuvodip
315 views
0 votes
1 answer

What is the difference between getWindowHandle() and getWindowHandles() methods in Selenium WebDriver?

Hey Jennifer, difference between getWindowHandle() and getWindowHandles() ...READ MORE

answered Jun 3, 2019 in Selenium by Anvi
• 14,110 points
6,449 views