MainMenu

Home 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.






76 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
  11. Good job in presenting the correct content with the clear explanation. The content looks real with valid information. Good Work top ca firms in chennai
    Warehouse Audit
    Customer Reconciliation

    ReplyDelete
  12. Home Mart is a site about Home Improvement, Furniture, Home Appliances and many more.
    Check out the best
    Dog Cages
    bedroom furniture nz

    ReplyDelete
  13. The article is so informative. This is more helpful for our
    software testing training courses
    selenium course Thanks for sharing

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

    ReplyDelete
  15. thanks for your information really good and very nice web design company in velachery

    ReplyDelete
  16. Nice blog
    For AWS training in bangalore, Visit:
    AWS training in bangalore

    ReplyDelete
  17. The site was so nice, I found out about a lot of great things. I like the way you make your blog posts. Keep up the good work and may you gain success in the long run.web design company in velachery

    ReplyDelete
  18. Hello friends, nice post and nice urging commented at this place, I am in fact enjoying by these.
    Thanks a lot, this post helps a lot making some high-level architectural decision. Thanks for the information.
    software testing services
    software testing companies
    Regression testing services
    Performance testing Services
    Test automation services

    ReplyDelete
  19. I must appreciate you for providing such a valuable content for us. This is one amazing piece of article. Helped a lot in increasing my knowledge.selenium training in bangalore

    ReplyDelete
  20. Attend The Machine Learning courses in Bangalore From ExcelR. Practical Machine Learning courses in Bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Machine Learning courses in Bangalore.
    ExcelR Machine Learning courses in Bangalore

    ReplyDelete
  21. I feel very Happy that I read this articles. It is very helpful for me and very informative and I really learned a lot from it.
    Artificial Intelligence Training In Hyderabad

    ReplyDelete
  22. It's a very attractive and useful blog .I has found the solution, Thanks for the share.
    Hadoop Training in Hyderabad

    ReplyDelete

  23. This is the information that ive been looking for. Great insights & you have explained it really well. Thank you & looking forward for more of such valuable updates.
    Artificial Intelligence Training In Hyderabad

    Artificial Intelligence Course In Hyderabad

    ReplyDelete
  24. Thank you sharing such wonderful information.
    AI Training In Hyderabad

    ReplyDelete
  25. Your Blog is really valuable, thanks for the informative article, keep updating more article.

    Machine Learning Training in Hyderabad

    ReplyDelete
  26. I must thank you for the efforts you have put in penning this site. I am hoping to check out the same high-grade content by you later on as well. Keep up the good work
    software testing companies
    software testing tester
    software testing and quality assurance services
    Automation testing services

    ReplyDelete
  27. The Overview of Testing Was Very much useful My sincere thanks for sharing this post Please Continue to share this post
    Home & Living

    ReplyDelete
  28. Pretty blog, so many ideas in a single site, thanks for the informative article, keep updating more article.
    Bike Accessories

    ReplyDelete
  29. Wow! This article is jam-packed full of useful information. The points made here are clear, concise, readable and poignant. I honestly like your writing style.
    Best Data Science training in Mumbai

    Data Science training in Mumbai

    ReplyDelete
  30. Nice blog Post ! This post contains very informative and knowledgeable. Thanks for sharing the most valuable information.
    Data Science Training in Hyderabad

    ReplyDelete
  31. I would you like to say thank you so much for my heart. Really amazing and impressive post you have the share. Please keep sharing
    Data Science Training in Hyderabad
    Data Science Course in Hyderabad

    ReplyDelete
  32. Nice information thanks for sharing it’s very useful. This article gives me so much information.
    AWS Training in Hyderabad
    AWS Course in Hyderabad

    ReplyDelete
  33. I like your post. Everyone should do read this blog. Because this blog is important for all now I will share this post. Thank you so much for share with us.
    DevOps Training in Hyderabad
    DevOps Course in Hyderabad

    ReplyDelete
  34. I would you like to say thank you so much for my heart. Really amazing and impressive post you have the share. Please keep sharing
    Data Science Training in Hyderabad
    Data Science Course in Hyderabad

    ReplyDelete
  35. Nice information thanks for sharing it’s very useful. This article gives me so much information.
    AWS Training in Hyderabad
    AWS Course in Hyderabad

    ReplyDelete

  36. Great Article
    Cloud Computing Projects


    Networking Projects

    Final Year Projects for CSE


    JavaScript Training in Chennai

    JavaScript Training in Chennai

    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

    ReplyDelete
  37. Banquets in Indore
    Thanks for sharing such information. This is really helpful for me. you can also visit our blog
    https://palmindore.in/blog/banquets-in-indore/

    ReplyDelete
  38. Thanks for sharing such information. This is really helpful for me. you can also visit our blog
    Banquets in Indore

    ReplyDelete
  39. Graceful written content on this blog Software Testing Services Company is really useful for everyone same as I got to know. Difficult to locate relevant and useful informative blog as I found this one to get more knowledge but this is really a nice one.

    ReplyDelete
  40. I really loved reading your blog. I also found your posts very interesting. In fact, after reading, I had to go show it to my friend and he enjoyed it as well!!!!
    Machine Learning Training in Hyderabad
    Machine Learning Course in Hyderabad

    ReplyDelete
  41. Really i found this article more informative, thanks for sharing this article! Keep posting..

    Big Data Analytics Training in Hyderabad

    Hadoop Training in Hyderabad

    ReplyDelete
  42. Highly informative article. This site has lots of information and it is useful for us. Thanks for sharing your views.
    Data Science Training in Hyderabad
    Data Science Course in Hyderabad

    ReplyDelete
  43. I really loved reading your blog. I also found your posts very interesting. In fact, after reading, I had to go show it to my friend and he enjoyed it as well!!!!
    Machine Learning Training in Hyderabad
    Machine Learning Course in Hyderabad

    ReplyDelete
  44. I am very glad to read your informative blog...thanks a lot for your valuable sharing
    you can also visit here

    Data Science Training in Hyderabad

    ReplyDelete
  45. This really is my first time i visit here. I discovered so many entertaining stuff in your blog, especially its discussion. From a great deal of comments in your articles, I guess I am not alone having all of the leisure here! Maintain the superb work.It is very useful who is looking for Software testing companies in USA

    ReplyDelete
  46. Very nice and useful post.Third Party Pharma Manufacturing Company in Rajasthan
    Lifevision healthcare is best Pharmaceutical Company in India. Lifevision Healthcare is reputed Contract manufacturing Company in Rajasthan. Lifevision Healthcare started in the year 2010. Our high-quality machines are also helpful to enhance the quality of pharmaceuticals products. Also, the techniques that we are using are advanced and effective. Lifevision Healthcare WHO/ISO certified Company. Lifevision Healthcare motive is to provide satisfaction with the help of our high-quality Pharma products as well as services. If you are looking 100%Quality Products then come and join us. Lifevision Healthcare is leading name of Contract Third Party Manufacturing Company in Rajasthan.
    Free Classifieds Website
    Free Classifieds Website Dehradun
    Free Classifieds Website Delhi
    Free Classifieds Website Bangalore
    Free Classifieds Website Hyderabad
    Free Classifieds Website Chennai
    Free Classifieds Website Mumbai
    Free Classifieds Website Pune
    Free Classifieds Website Kolkata


    Post Free Classifieds Ads Without Ragistration









    ReplyDelete
  47. I am really happy to say it’s an interesting post to read . I learn new information from your article , you are doing a great job . Keep it up

    Devops Training in Hyderabad

    Hadoop Training in Hyderabad

    Python Training in Hyderabad

    ReplyDelete
  48. "Thanks for the Information.Interesting stuff to read.Great Article.
    I enjoyed reading your post, very nice share.data science training"

    ReplyDelete
  49. Nice reading, This is an informative information, thanks for sharing this blog.
    Manual Testing Training in Bangalore

    ReplyDelete