Selenium webdriver features
Quality,  Selenium,  Webdriver

Selenium Webdriver Features

Webdriver is the most popular and necessary component of Selenium for Software Testing. It is widely used for Automation Testing in IT Companies; sometimes it is called Selenium 2. The installation and Project setup is same as Selenium RC. In this article Selenium Webdriver features and its commands have been discussed below.

Let’s know, what is the difference between Selenium Webdriver and Selenium RC including the advantages of Selenium Webdriver over Selenium RC?

Selenium Webdriver Features:

  • We can work with all the latest browsers like Mozilla Firefox, IE, Google Chrome, Safari, Opera.
  • Selenium Webdriver supports the different languages like Java, C#, PHP, Ruby, Python.
  • It is not necessary to start the Selenium server to run the Webdriver program.
  • Webdriver launches only the browser; it doesn’t launch the command history browser.
  • By default, the Selenium Webdriver maximizes the browser to 14 inches monitor.
  • By default the Webdriver handles the Page Load Synchronization issue, if it is a Page Refresh then we need to handle it by using sleep command.
  • We can implement one class with Webdriver commands and Selenium RC commands.
  • Selenium Webdriver is having the Auto Scroll Up and Down feature into the application while executing the scripts.
  • We can effectively take the information from the application by using the commands get text and get attribute to validate the application.

 

Webdriver Commands:

Browser Commands:

get: It is to open the URL of the application.

quit: It is to close the Browser.

close: It is to close the child or Pop up window.

Syntax:

  • quit();
  • close();

 

Interactive Commands:

sendkeys: It is to enter some value in the text box.

clear: It is to clear the data from the text box.

click: By using this command, we can click on a Button, Radio Button, Checkbox, Image, link etc.

new select: It is to select the value from a drop-down and a list box.

Syntax:

  • findelement (By.name (“Username”)).sendkeys(“test name”);
  • findelement (By.name (“Username”)).clear();
  • findelement (By.name (“Button”)).click();

 

Please click here to Read Selenium configuration with Java

Please click here to Read The steps for creating a project in Eclipse

4 Comments

  • Coding@Ravi

    Description of Topics related to Software Testing is very good and Selenium Automation Testing series is very helpful, Selenium Webdriver Features is a very good Article..

    Keep it up Work For Quality…

  • Hair Styles

    Hey there! I know this is kind of off topic but I was wondering which blog platform are you using for this site? I’m getting sick and tired of WordPress because I’ve had issues with hackers and I’m looking at alternatives for another platform. I would be awesome if you could point me in the direction of a good platform.

  • kate spade handbags

    I’m just writing to let you know of the impressive experience our daughter went through reading the blog. She even learned a wide variety of details, most notably what it is like to have a marvelous teaching character to let the rest really easily comprehend some problematic issues. You undoubtedly surpassed visitors’ expected results. Thanks for offering such invaluable, trustworthy, edifying and even easy thoughts on the topic to Julie.

Leave a Reply

Your email address will not be published. Required fields are marked *