FAQ Selenium Interview Questions in Singapore: Freshers and Experienced
Selenium interview questions constitute a major part of any QA and testing interview. The reason being, Selenium is the most popular automation tool of current times. For a better understanding of our readers, we have divided Selenium interview questions and answers into the sections as below-
Selenium Interview Questions For Freshers
What is Selenium?
Selenium is an open-source suite consisting of multiple components. It is not a single automation tool, it is a group of 4 components.
- It is used for automation testing of web applications.
- It supports functional testing and regression testing.
- Selenium supports automation testing across these-
- Browsers– Internet Explorer, Safari, Chrome, Firefox, Opera
- Operating System – Windows, Linux, Unix, Mac
- Programming languages– Java, Perl, Ruby, Python, C#, JavaScript, PHP
What are the different components I should know while preparing Selenium Interview Questions?
- Selenium Integrated Development Environment(IDE): This automation test tool records user actions in the form of a script and then playbacks it. This comes as a plugin for Firefox and Chrome browsers. Test scripts can be exported from Selenium IDE to Selenium webdriver in the required programming language. Moreover, automation with Selenium IDE does not require programming skills because IDE records user actions and then creates scripts automatically.
- Selenium Remote Control(RC): Before running test scripts, the Selenium RC server needs to be started. This server sits between the browser and the test scripts. Then, Selenium RC server interacts with the browser after converting the programming language into JavaScript commands. This extra layer of JavaScript commands makes Selenium RC slower than Selenium Webdriver. Since the webdriver directly communicates with the browser using HTTP calls, it is faster than the Selenium RC.
- Selenium Grid: Selenium Grid is used for parallel execution of test cases across different multiple browsers and machines. Therefore, helps in saving test execution time.
- Selenium Webdriver: Selenium webdriver is the most popular automation tool due to its simple architecture and the ability to directly communicate with browsers using HTTP calls.
What are the advantages of Selenium as a tool?
- Open source- Selenium is free and open source, therefore this is the first choice for most organisations for automation testing.
- Multiple supported programming languages- Selenium supports Java, JavaScript, PHP, Ruby, Python, C#, Perl, etc.
- Multi-platform support- Windows, Mac, Linux, and Unix are supported by Selenium.
- Cross-browser testing- Supports multiple browser testing e.g. Chrome, Safari, Firefox, Internet Explorer, etc.
- Online community support- Since it has widespread usage there is a huge Selenium user base that provides support to the new users.
- Parallel execution support- Selenium grid supports parallel execution, distributed across different machines. This is a favourable feature of Selenium for testers.
What are the disadvantages of Selenium?
- It supports the testing of web-based applications only.
- Testers should possess good programming language knowledge to write test scripts.
- It does not support mobile application testing.
- The in-built report generation tool is unavailable.
- Captcha testing is not possible using Selenium.
- It is an open-source automation tool, therefore official vendor support is unavailable for Selenium.
Explain the Selenium Webdriver architecture?
To know in detail about Selenium's Webdriver architecture, please click here.
I hope that you found this blog post informative. I would love to know your feedback on this. Do let me know if there's a specific topic you would like me to cover and share the most asked interview questions in Singapore.
Happy Reading!