1.
What does Selenium automate?
Correct Answer
B. Browsers
Explanation
Selenium is a popular automation tool used for testing web applications. It allows developers to automate the testing process by interacting with web browsers. With Selenium, developers can write scripts to simulate user actions on web browsers such as clicking buttons, filling forms, and navigating through pages. Therefore, the correct answer is "browsers" as Selenium is primarily used to automate web browsers.
2.
Which one of these does Selenium provide?
Correct Answer
C. A record/playback tool
Explanation
Selenium provides a record/playback tool. This means that users can record their interactions with a web application and then replay them later. This feature is useful for automating repetitive tasks and testing the functionality of web applications. Users can record their actions and save them as test scripts, which can be played back at any time to reproduce the same actions. This helps in saving time and effort by automating manual testing processes.
3.
Which platform isn't Selenium friendly?
Correct Answer
A. Android
Explanation
Selenium is not friendly with the Android platform. This means that Selenium cannot be used effectively for automating tests on Android devices. While Selenium is compatible with Windows, Linux, and other operating systems, it does not provide the same level of support and functionality for Android. Therefore, if you are looking to automate tests specifically on Android devices, you would need to explore alternative tools or frameworks that are more suitable for this platform.
4.
Under which license was Selenium released?
Correct Answer
D. Apache 2.0
Explanation
Selenium was released under the Apache 2.0 license. This license allows users to freely use, modify, and distribute the software for any purpose, as long as they include the original copyright notice and disclaimer. It also provides patent protection, ensuring that users are not held liable for using the software. The Apache 2.0 license is known for being business-friendly and widely used in the open-source community.
5.
What's Selenium's provided specific language?
Correct Answer
B. Selenese
Explanation
Selenese is the specific language provided by Selenium. It is a set of commands and statements that are used to write test scripts in Selenium. Selenese allows testers to interact with web elements, perform actions, and verify expected results. It provides a simple and easy-to-understand syntax for writing test cases in Selenium.
6.
In what language you can't write codes for selenium?
Correct Answer
A. SQL
Explanation
SQL is a language used for managing and manipulating databases, it is not used for writing code for automation testing using Selenium. Java, Ruby, and C# are programming languages commonly used for writing Selenium test scripts. Therefore, SQL is the correct answer as it is not a language used for writing codes for Selenium.
7.
Which statement about Selenium is true?
Correct Answer
D. Selenium automates web apps for testing purposes.
Explanation
Selenium is a widely used open-source tool for automating web applications. It allows testers to write and execute automated tests on web applications to ensure their functionality, identify bugs, and validate expected outcomes. By automating the testing process, Selenium saves time and effort compared to manual testing. Therefore, the statement that "Selenium automates web apps for testing purposes" is true.
8.
In what language is Selenium written in?
Correct Answer
B. Java
Explanation
Selenium is primarily written in Java. This means that the core functionality and features of Selenium are implemented using the Java programming language. Java is a popular choice for Selenium because it is platform-independent, has a large community of developers, and provides robust support for web automation. Using Java as the primary language allows Selenium to be used effectively for automating web applications across different operating systems and browsers.
9.
How did Selenium get its name?
Correct Answer
A. Selenium's creator mocked a competitor named Mercury, saying that you can cure mercury poisoning by taking selenium.
Explanation
Selenium got its name because its creator mocked a competitor named Mercury, suggesting that taking selenium can cure mercury poisoning.
10.
When was Selenium released?
Correct Answer
A. In 2018
Explanation
The given answer is incorrect. Selenium was actually released in 2004. It was developed by Jason Huggins as an internal tool at ThoughtWorks, and later became an open-source project. Selenium is a widely used framework for automating web browsers and testing web applications.