Directory Image
This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Privacy Policy.

Selenium Testing Training: The Beginning for learners

Author: Info Campus
by Info Campus
Posted: Oct 06, 2017

Here is an article for the learners who started to learn Selenium. i) What is Selenium? ii) Selenium Components / Selenium's Tool Suite iii) Advantages and Disadvantages of Selenium iv) Selenium Environment Setup.

What is Selenium?

Selenium is a Suite of Software Tools to computerize Web Browsers. Selenium is an Open source Software discharged under the Apache 2.0 License, chiefly utilized for Functional and Regression Testing. Selenium underpins different Operating Environments to make and execute Test cases.

Selenium Supports: MS Windows, Linux, Macintosh and so forth...

Selenium bolsters different programming conditions to compose Programs.

Selenium bolsters: Java, C#, Perl, Python, Ruby, and PHP (Selenium underpins different programming dialects to compose Test Scripts, we can choose any of those dialects, these days a large portion of the Selenium Testers utilizing Java (almost 77%))

Selenium bolsters different Web Browsers:-

Mozilla Firefox, Google Chrome, IE, Opera,Safari and so on...

Note: Selenium IDE bolsters just Mozilla Firefox.

Selenium underpins different Testing Frameworks that relies upon Programming condition:-

Utilizing Testing Framework we can Group Test Cases, Prioritize Test Cases, Execute Test Batches and Generate Test Reports.

Case:

  • Java - JUnit, TestNG
  • C#.NET - NUnit

Selenium Components/Selenium's Tool Suite:

  • Selenium initially sprung up in 2004
  • In 2006, Selenium WebDriver was propelled at Google.
  • In 2008, the entire Selenium group choose to blend WebDriver with RC (Remote Control) keeping in mind the end goal to shape more power device called Selenium 2.0.

Selenium 1.0 :- (Selenium IDE + Selenium RC + Selenium Grid)

Selenium 2.0 :- (Selenium IDE + Selenium RC + Selenium WebDriver + Selenium Grid)

Selenium 1.0 + WebDriver = Selenium 2.0

Selenium Components/Selenium's Tool Suite:-

1. Selenium IDE (Integrated Development Environment)

It is Firefox program connect to, works just on Firefox.

Selenium IDE Features:-

It is a prototyping device to make and execute Test Cases.

  • Create Test Cases, shape Test suites - (Utilizing Recording we can produce Test cases or utilizing Element Locators and Selenese Commands we can sort Test Steps.)
  • Execute Test Case, Test Suite
  • Edit Test Cases
  • Debug Test Cases
  • Export Test Cases to different configurations (supporting organizations, ex: Java, Ruby etc...)

Selenium IDE Drawbacks:-

  • It underpins just Mozilla Firefox program.
  • It doesn't bolster programming.
  • It doesn't bolster Data driven Testing
  • It doesn't produce definite Test Reports.
  1. Selenium RC (* Out Dated)
  2. Selenium WebDriver:-
  • It is a Programming Interface, doesn't have IDE.
  • Selenium IDE - IDE, no Programming
  • Selenium WebDriver - Programming Interface, no IDE
  • UFT - IDE and Programming Interface

Selenium WebDriver Features:-

  • It has Programming Interface just; utilizing Element Locators and WebDriver Commands we can make Test Cases.
  • It bolsters different Operating Environments (MS Windows, Linux, Mac etc...)
  • It underpins different Browsers (Mozilla Firefox, Google Chrome, IE, Safari, Opera etc...)
  • It underpins different Programming conditions (Java, C#, Python, Perl, Ruby and PHP)
  • It underpins Data driven Testing, Cross program Testing and Batch Testing.
  • It underpins Parllel test execution with help of either selenium Grid or TestNG Framework.

Disadvantages of Selenium WebDriver:-

  • It doesn't have IDE, so it sets aside greater opportunity to make Test cases.
  • No inherent Result Reporting office.
  • No inherent spread sheet for Data related operations

4. Selenium Grid:-

  • It is utilized to execute Test cases over various programs, working conditions and PCs in parallel.
  • Selenium Grid 2.0 backings Selenium RC Test Cases and Selenium WebDriver Test Cases.

Advantages and Disadvantages of Selenium:-

Points of interest:

  • It is an Open source Software (Free of Cost)
  • It underpins different Operating conditions, Browsers and Programming situations.
  • It bolsters Parallel Test Execution and so forth...

Impediments:

  • It bolsters Web Applications as it were.
  • No dependable Technical help
  • Limited help for Image Testing
  • No other device reconciliation for Test Management.
  • Takes more opportunity to make Test cases in Selenium WebDriver
  • Difficult Setup Test Environment and so forth...

Selenium Environment Setup :-

  • Pick Selenium Tools
  • Selenium WebDriver,
  • Java,
  • TestNG and so forth...

Test Environment setup:-

  • Download and concentrate Eclipse IDE
  • Download and Install Java (jdk) Software.
  • Download Selenium WebDriver Java dialect ties shape seleniumhq.org and Add WebDriver bump documents to Java extend in Eclipse IDE
  • Download Browser drivers (Chrome, IE etc...) and Extract.
  • Download TestNG structure from Eclipse and introduce.

Test Automation utilizing Selenium:-

  • Using WebDriver
  • Java Programming
  • TestNG Framework

About Author:

Looking for a best selenium training institute in Bangalore? Join Infocampus. Infocampus is one of the institutes that provide Selenium Courses in Bangalore. In infocampus, candidates get real time project with live examples for each and every topic of selenium classes. To attend free demo classes on selenium, contact 9738001024. To know more about selenium training in Bangalore, visit http://infocampus.co.in/best-selenium-testing-training-center-in-bangalore.html.

About the Author

Infocampus is a training institute that offers training on different technologies. Call 9738001024 for more details. Enquire at http://infocampus.co.in

Rate this Article
Leave a Comment
Author Thumbnail
I Agree:
Comment 
Pictures
Author: Info Campus

Info Campus

Member since: Dec 10, 2016
Published articles: 413

Related Articles