MainMenu

Home Core Java Overview Maven Tutorials

Selenium Overview for beginner

An Introduction to automation : 
"When pre-written Test script/Test Suite is executed by any automation tool then it is known as automation testing."

Why we need automation?
When frequent testing is required  also for a long application to minimize testing effort.

Popular Tools in Market :
There are number of tools in the market but few popular are described below :
Selenium :  Open source tool , need basics of core java programming skill
QTP : licence tool, need VB script knowledge & easy to use.
SOAPUI : Open source, need Groovy knowledge.
Watir : It is an open source tool & need ruby knowledge.
   

As we know that manual testing is that when a human execute test cases/steps  with in application and execute entire suite manually but if the application is lengthy and regression is required frequently then it is good to have an automation tool.


So when a testing is done with an automation tool which follow the instruction of a script then it will become an automation testing.


"Automated software testing is a process in which automation testing tool execute scripted tests on a software."


It minimize the testing efforts & needs technical knowledge.


Below is the list of few popular automation tools :


Selenium : Open source & work on various platform and browser


HP QTP : QTP is a best functional testing tool supported on wide range of coding languages but it is a licence tool/paid tool.


Watir : Watir is a set of Ruby libraries for automating web browsers


SOUP UI: SoapUI is a cross-platform functional testing tool. It has been specifically designed to help automatically test APIs such as SOAP and REST interfaces to ensure the interoperability of different applications.


Advantage & Disadvantage of Automation testing


Advantage :


  • Test automation make testing process to more efficient.
  • Once written script can be easily updated & reusable.
  • Test automation, increase speed, efficiency and quality.
  • Test automation is Quick return on investment because it is cost-effective for software products with a long maintenance life.
  • Test automation include different kind of testing to increase test coverage.
  • Bug can be replicated easily.

Disadvantage :

  • It is a major issue to debug test script
  • Require high skill level of team member
  • In case of Playback mood test maintenance cost is high
  • GUI testing is not possible
  • Manual testing can be done in any language which is not possible in automation.
  • Ad-hoc testing, monkey testing can't be done in automation.
  • Hard to design complex scenario as compared to manual.
Hello Friends, this section will cover the brief intro of selenium Testing tool and procedure to configure it.

As we know that manual testing is that when a human execute test cases/steps with in application and execute entire suite manually but if the application is lengthy and regression is required frequently then it is good to have an automation tool.

So when a testing is done with an automation tool which follow the instruction of a script then it will become an automation testing.

"Automated software testing is a process in which automation testing tool execute scripted tests on a software."

It minimize the testing efforts & needs technical knowledge.

Below is the list of few popular automation tools :

Selenium : Open source & work on various platform and browser

HP QTP : QTP is a best functional testing tool supported on wide range of coding languages but it is a licence tool/paid tool.

Watir : Watir is a set of Ruby libraries for automating web browsers

SOUP UI: SoapUI is a cross-platform functional testing tool. It has been specifically designed to help automatically test APIs such as SOAP and REST interfaces to ensure the interoperability of different applications.

Advantage & Disadvantage of Automation testing

Advantage :

  • Test automation make testing process to more efficient.
  • Once written script can be easily updated & reusable.
  • Test automation, increase speed, efficiency and quality.
  • Test automation is Quick return on investment because it is cost-effective for software products with a long maintenance life.
  • Test automation include different kind of testing to increase test coverage.
  • Bug can be replicated easily.

Disadvantage :

  • It is a major issue to debug test script
  • Require high skill level of team member
  • In case of Playback mood test maintenance cost is high
  • GUI testing is not possible
  • Manual testing can be done in any language which is not possible in automation.
  • Ad-hoc testing, monkey testing can't be done in automation.
  • Hard to design complex scenario as compared to manual.
What is Selenium?
Selenium is an Automation Testing Tool which is used to Automate, browsers or browser bases application also it is an open source application tool means free of cost.


Who developed selenium?

Primarily, Selenium was created by Jason Huggins in 2004. An engineer at ThoughtWorks, he was working on a web application that required frequent testing. Having realized that the repetitious manual testing of their application was becoming more and more inefficient, he created a JavaScript program that would automatically control the browser's actions. He named this program as the "JavaScriptTestRunner." Seeing potential in this idea to help automate other web applications , he made JavaScriptRunner open-source which was later re-named as Selenium Core.



Components of Selenium
1)• Selenium Integrated Development Environment (IDE)
2)• Selenium Remote Control (RC)
3)• WebDriver
4)• Selenium Grid
Selenium IDE : Selenium Integrated development Environment(IDE) is a firefox plugin that allows us to record as we ifollow the workflow of application in a browser.
Selenium RC : Selenium Remote control (RC) was the flagship testing framework that allows more than simple browser actions and linear execution. It makes use of full power programming languages such as java, C#, PHP, Phython, Ruby and PERL to create more complex tests.
Selenium Webdriver : Selenium Webdriver is the successor to selenium RC which sends commands directly to the browser and retrieves results.
Selenium Grid : It is a tool used to run parallel tests across different machines and different browsers simultaneously which results in minimized execution time.


Difference between QTP and selenium


In some cases selenium is more effecient as compare to qtp but in few cases QTP is more powerful than Selenium.
The major advantage of selenium is that it is open source(free of cost) can work in Different OS.
Few major differences are below :

Advanage of selenium over QTP
1. Selenium is an open source tool.
QTP is commercial tool and cost involved in each one the license.
2. Selenium has capability to execute the scripts across different browsers.
QTP can run tests in specific versions of Firefox, IE and Chrome.
3.Selenium Can execute script on varios operating Systems.
Works only with windows.
4.Selenium Supports the mobile devices.
QTP support mobile devices with the help of third party tool.
5.Selenium can execute tests within the browser so focuss is NOT reuired while script execution in progress.
QTP need focus during script execution as the tool acts on the browser (mimics user actions).
6. Selenium can execut tests in parallel with use of selenium grids.
QTP can not execute tests in parallel but integrating QTP with QC allow testers to execute in parallel. QC is also a commercial tool.


Advanage of QTP over Selenium 1.Selenium Supports only web based application.
QTP can test both web and desktop application.
2.Selenium don't have feature like object repository/Recovery Scenario.
QTP has object repository and recovery scenarios build-in.
3.Selenium Have NO IDE so the script development won't be as fast as QTP
QTP have more intuitive IDE, Automation can be achieved faster.
4.Selenium can not access controls with in the browsers.
QTP can access controls within the browser such as favorites bar, backword and forward buttons.
5.Seleniium have no default test report generation.
QTP have default test result generation with the tools.
6.In selenium for parameterization users has to rely on the programming language.
although in Parameteriation is builtin and easy to implement.






13 comments:

  1. The Overview of Testing Was Very much useful My sincere thanks for sharing this post Please Continue to share this post
    Software Testing Training in Chennai

    ReplyDelete
  2. I read your blog completely this is very nice.You gave some over view of selenium.Now selenium has good market value in IT industry.Thanks for sharing.keep sharing more blogs.Anybody want to learn

    Selenium Training in Bangalore

    ReplyDelete
    Replies
    1. Thanks Raj,
      We will keep uploading quality material.... :)

      Delete
  3. Hello there, much obliged for sharing such an educational blog. I have perused your blog and I accumulated some needful data from your blog. Keep refresh your blog. Anticipating for your next refresh. Software Testing Training in Bangalore
    AWS Training in Chennai

    ReplyDelete
  4. Whoa! I’m enjoying the template/theme of this website. It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between superb usability and visual appeal. I must say you’ve done a very good job with this.

    selenium training in chennai|

    ReplyDelete
  5. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.

    Java Training In Bangalore

    ReplyDelete
  6. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site."Devops Training in Bangalore"

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. The information on this blog is very useful and very interesting. If someone needs to know about the just click .
    DevOps Training Institutes | DevOps Course in Bangalore

    ReplyDelete
  9. Pretty blog, so many ideas in a single site, thanks for the informative article, keep updating more article.
    Software testing course in chennai

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete