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,930 points
903 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
1 answer

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

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

answered Apr 18, 2018 in Selenium by king_kenny
• 3,650 points
334 views
0 votes
1 answer

what is the need of xpath when you have attributes like id ,class,name in selenium?

It is not necessary that every element ...READ MORE

answered Jun 1, 2018 in Selenium by Vinita
• 220 points
217 views
0 votes
1 answer

What is following-sibling in selenium?

Here, ul has 8 children(8-li) on total.  And, ...READ MORE

answered Jun 1, 2018 in Selenium by Vinita
• 220 points
2,737 views
0 votes
1 answer

What is Page Object Model in Selenium WebDriver?

If you want to learn about Selenium ...READ MORE

answered Jun 14, 2018 in Selenium by Meci Matt
• 9,420 points
156 views
0 votes
1 answer

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,110 points
937 views
0 votes
1 answer
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,130 points
1,119 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
858 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
113 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 in Selenium by Anvi
• 13,960 points
512 views