Selenium Mastery Quiz

A modern workspace featuring a computer screen with Selenium code, a coffee cup, and sticky notes, conveying a tech-savvy atmosphere

Selenium Mastery Quiz

Test your knowledge and proficiency in Selenium with this engaging quiz! Challenge yourself with 20 thoughtfully crafted questions that cover various aspects of Selenium, Java programming, and general programming knowledge.

Perfect for:

  • Developers looking to refresh their skills
  • Students preparing for interviews
  • Anyone wanting to gauge their understanding of web automation and testing
20 Questions5 MinutesCreated by CodingGuru247
Which Selenium component are you currently using?
Selenium RC
Selenium WebDriver
Selenium IDE
Selenium Grid
What is the most common way to find an element on a page?
ID
XPATH
NAME
CSS SELECTOR
Pick two from the following if you wanted do a partial match on an attribute on an element from the beginning of the value:
Contains()
Starts-with()
Both a & b
What is the best call for finding multiple elements using XPath?
FindElementByXpath
FindElementsByXPath
FindElementByCssSelector
Both B & A
Which of the following expression is used for "anything"?
**
.*
*.
*&
Selenium command for entering text into text boxes?
SendKeys()
SendKey()
SendsKeys()
Which of the following language is not supported by Selenium
Java
Python
Ruby
ASP
Which of the following method is used to work with multiple browser windows?
GetMultipleWindows()
GetWindowHandles()
GetWindowHandle()
Both B & C
Which one is a class in Selenium ?
WebDriverWait
WebElement
WebDriver
GetPageSource
Which one of the following is Equality operator in Java?
-=
+=
==
=
Select Odd one out from these about local variables
Local variables are declared in methods, constructors, or blocks
Local variables are created when the method, constructor or block is entered
the variable will be destroyed once it exits the method, constructor, or block
We can't create reference variables of Local variables
On which platforms Java can run?
Windows
Mac OS
UNIX
All of the above
Is Java a case sensitive language?
Yes
No
Java program processing always starts with main() method
True
False
Which one of the following is not a primitive datatype?
String
Array
Int
Byte
Can we call non static methods of a class by static methods of a class without creating object?
Yes
No
public class Program{
public static void main(String[] args){
int a = 10;
System.out.println(a++);
a++;
}
}
10
11
12
13
public class Pgm {
public static void main(String[] args){
int a = 10;
System.out.println(a*a++);
}
}
 
100
110
121
Error
What is default value of variable int a; in following code?
0
Null
What is 'extends' in java inheritance?
Extends a package
Extends a method
Extends a class
Extends a object
{"name":"Selenium Mastery Quiz", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge and proficiency in Selenium with this engaging quiz! Challenge yourself with 20 thoughtfully crafted questions that cover various aspects of Selenium, Java programming, and general programming knowledge.Perfect for:Developers looking to refresh their skillsStudents preparing for interviewsAnyone wanting to gauge their understanding of web automation and testing","img":"https:/images/course8.png"}
Powered by: Quiz Maker