1.
How do you pronounce "watir"?
Correct Answer
B. Like "water"
Explanation
The correct answer is "Like 'water'". This pronunciation suggests that the word "watir" is pronounced in the same way as the word "water".
2.
Finish the statement: Watir is an open-source family of ______ libraries!
Correct Answer
A. Ruby
Explanation
Watir is an open-source family of Ruby libraries. Watir allows users to write tests that are easy to read and maintain, providing a simple and powerful way to automate web browsers. It leverages the Ruby programming language to interact with web browsers and perform various actions such as clicking buttons, filling out forms, and navigating through web pages. The Ruby libraries make Watir a flexible and efficient tool for web automation.
3.
Name one watir project that's more important than the others!
Correct Answer
D. Watir-classic
Explanation
Watir-classic is considered more important than the other projects because it is the original and most widely used version of Watir. It has been around the longest and has a large community of users and contributors. The other projects, such as watir-modern, watir-neo, and watir-old, may have different features or improvements, but they are not as established or widely adopted as watir-classic.
4.
Name another important watir project!
Correct Answer
B. Watir-webdriver
Explanation
Watir-webdriver is another important project in the Watir community. It is a powerful tool that allows users to automate browser interactions and perform testing on web applications. It provides a simple and intuitive API for writing tests and supports multiple browser platforms, making it a widely used and valuable resource for web developers and testers.
5.
What's watir-webdriver based on?
Correct Answer
D. Selenium
Explanation
Watir-webdriver is based on Selenium. Selenium is a popular open-source framework used for automating web browsers. Watir-webdriver is a Ruby library that provides a simple and powerful way to automate interactions with web browsers. It uses the Selenium WebDriver API to control the browser and perform actions such as clicking buttons, filling forms, and extracting data from web pages. By using Selenium as its foundation, watir-webdriver is able to support multiple browsers, making it a versatile tool for web automation.
6.
Name one of watir's developers!
Correct Answer
A. Bret Pettichord
Explanation
Bret Pettichord is one of the developers of Watir.
7.
When was watir released?
Correct Answer
C. In 2017
8.
Which Ruby capabilities does watir use?
Correct Answer
B. OLE
Explanation
Watir (Web Application Testing in Ruby) uses OLE (Object Linking and Embedding) capabilities. OLE allows Watir to interact with objects in other applications, such as web browsers, and control them programmatically. This enables Watir to automate web browser actions and perform various testing tasks, such as clicking buttons, filling forms, and verifying page content. OLE is an essential capability for Watir to effectively test web applications using Ruby.
9.
Which statement is true?
Correct Answer
C. Watir-classic directly drives the browser through the OEL protocol.
10.
Finish the sentence: Watir is available as a RubyGem ____!
Correct Answer
A. Gem
Explanation
Watir is available as a RubyGem, which means it is a software package or library that can be installed and used in Ruby programming language. It provides a set of tools and libraries for automating web browsers, making it easier for developers to write automated tests and interact with web applications. The term "gem" refers to a package in the RubyGems package manager, which allows developers to easily distribute and manage Ruby libraries and applications.