Saturday, September 15, 2018

Introduction to Selenium

Introduction to Selenium 


Q1-What is Automation Testing?

Answer- In Software testing or Quality assurance of any product/application. It's our duty to deliver a bug-free product it means no defect in our product/application. In order to achieve the quality, we perform testing in our product/application. i.e. we perform a set of test cases which can be functional and non-functional test cases.

To save our time and resources, we can automate manual test cases, which can save human effort and time.

For example- We need to test a test case/scenario 50-100 times manually and each time we are checking the same result then its better to automate that test case/scenario and we can run it multiple times to verify the result.

Thanks to Selenium for giving us the liberty to automate our product/application.


Q2- Why Automation testing should be performed?

Answer- We perform automation testing for regression testing, smoke testing, and sanity testing.


Q3- When Automation testing should be performed?

Answer- When we have to execute same test cases on regular basis then its better to automate that test cases.

For example- You have 100 test cases/scenarios that you have to execute on daily basis and you have to test the same test case/scenarios on every release. So, it's better to automate them instead of testing the same manually.


Q4- Which test case avoided automating?

Answer- Well this is the first question asked when automation of test cases comes into the picture.
So, below are the test cases/scenarios-

1- Test cases which change very frequently because if you will automate that test case next time it will fail because the application feature will change so it's better to choose a test case which is stable.

2- Test cases which have manual interaction like entering an OTP, captcha code etc.


Selenium introduction

Selenium is an Open source Web Automation tool which was designed by ThoughtWorks in 2004, It started by Selenium IDE then Selenium RC which is also known as Selenium 1 then Selenium Webdriver which is also known as Selenium 2

Selenium is very popular nowadays because of many reasons

It is an open source tool, which means we do not have to purchase any license for this. We can download from their official website and we can use.

It supports many languages like Java, JavaScript, C#, Python, Ruby etc.

We can perform cross-browser testing as well. Selenium Webdriver support almost all browser which their latest version like Firefox, Chrome, IE, Safari, Opera etc.

It supports the entire platform like Windows, UNIX, Linux, Apple etc.

Recently Selenium has introduced mobile testing as well, now we can automate Android testing using Selendroid, iPhone testing using Appium.


Selenium having compatibility with many tools well some example are AutoIT, Jenkins, Sikuli, Testing, Junit etc.



No comments:

Post a Comment

How to Configure Webdriver-Selenium for Java in Eclipse on Windows

Components You'll Need To run WebDriver tests in Java with Eclipse you’ll need: Java Eclipse A test framework (We’ll use JUnit...