Wednesday 3 April 2013

Selenium Interview Questions


1)  What is Selenium ?A)  Selenium is a combination of different software tools with different approach to automate browsers..  Its primary purpose is to automate Web applications for testing purpose and it is developed in JavaScript...2)  What is the cost of Selenium ?A)  Since, selenium is an open source, it is free of cost.. So, we can download the software for free... 3)  What are the main components / flavors of Selenium ?·                     Selenium IDE (Integrated Development Environment)·                     Selenium RC (Remote Control)·                     Selenium Grid·                     Selenium Webdriver4)  What tests can selenium do ?A)  Selenium is mainly used for Functional testing, Regression testing and Load/Stress testing for web based applications...5)  What are the advantages and disadvantages of selenium ?A)  Advantages :·                     Its main advantage is that it is free of cost.·                     Installation of selenium software is easy.·                     Record and play back feature is available.·                     Selenium supports multiple operating systems and runs in many browsers.·                     It has a feature of converting scripts into other languages like Java, C#, Python, Ruby, etc..·                     Good support for Agile(methodology) projects.    Disadvantages :·                     Complete set-up of selenium is somewhat critical.·                     It is not suitable for Client-Server applications.·                     Boring error analysis.·                     Selenium does not support back end test.·                     Support provided for Selenium would be very less.6)  Name some browsers that support Selenium ?·                     Firefox·                     Internet Explorer·                     Safari·                     Opera·                     Google Chrome7)  Operating systems that support Selenium..·                     Windows·                     Mac·                     Linux·                     Solaris8)  Programming languages that support Selenium(with RC)..·                     Java·                     C#·                     Perl·                     PHP·                     Python·                     Ruby9)  Name some open source tools otherthan Selenium ?·                     WATIR- Web Application Testing In Ruby, is a functional testing tool for web applications which uses Ruby scripting language..·                     Sahi- It is also an automation tool used to automate web appications which is developed in java and javascript..·                     WET- Web Tester is also a web automation testing tool which uses Watir as the library to drive web pages..10)  Why you have chosen 'selenium' as your automation t00l ?A)  As our project owner is not much interested in investing amount on automation, he had suggested us to use an open source tool.. Selenium is perhaps(reasonably) the best option for automating web-based applications.. Due to its popularity with good features, it would be the first choice of a tester or a company for automation testing.. Since, our team has exposure on selenium, our project manager has decided to use 'Selenium' for automation..11)  Compare Selenium with QTP..·                     Selenium is an open source(free of cost) where as QTP(have to purchase) is commercial tool..·                     Selenium is used for testing only web-based applications where as QTP can be used for testing client-server applications also..·                      Selenium supports Firefox, Internet Explorer, Safari, opera on operating systems like Windows, Mac, linux etc., however QTP is limited to Internet Explorer on Windows..·                     Selenium tests has the flexibility to use many languages like Java, C#, Python, Ruby, Perl and PHP where as QTP mainly supports VB script..

No comments:

Post a Comment