Download PDF
Free download in PDF Selenium Objective Type Questions and Answers for competitive exams. These short objective type questions with answers are very important for Board exams as well as competitive exams. These short solved questions or quizzes are provided by Gkseries.
(21)
Selenium is compatible with
[A]
CSS1.0, CSS 2.0, and CSS 3.0 selectors.
[B]
CSS1.0, CSS 2.0, CSS 3.0 and CSS 4.0 selectors.
[C]
CSS 2.0, and CSS 3.0 selectors.
[D]
CSS1.0 and CSS 2.0,
Answer: CSS1.0, CSS 2.0, and CSS 3.0 selectors.
(22)
How to execute a specific command?
[A]
Highlight a command. Press X.
[B]
Highlight a command. Press Ctrl + X.
[C]
Highlight a command. Press Alt + F9.
[D]
Highlight a command. Press Ctrl + F9.
Answer: Highlight a command. Press X.
(23)
Which command is used to extend the time limit of WAITFOR command?
[A]
setTimeout (time in sec)
[B]
setTimeout
[C]
wait for (time in sec) extend
[D]
Extend waitFor (time in sec)
(24)
Which is the odd one out?
[A]
CSS selector
[B]
Pattern matching
[C]
ID
[D]
XPath
(25)
Which is the following is true in case of waitFor command?
[A]
waitForTextPresent
[B]
waitForPageToLoad
[C]
waitForFramePresent
[D]
waitForAlertPresent
Answer: waitForTextPresent
(26)
Select the method which performs a context-click at the current mouse location.
[A]
contextClick()
[B]
context_Click()
[C]
context.Click()
[D]
click_Context()
(27)
Select the command which retrieves the alert message and stores it in a variable that you will specify.
[A]
storesAlert
[B]
storeAlert
[C]
store_Alert
[D]
storedAlert
(28)
Out of the following which is NOT a wait command.
[A]
waitForAlert
[B]
U.K. leadership
[C]
wait for title
[D]
waitForTextPresent
(29)
Select the method which clears all selected entries in Web driver Selenium.
[A]
dselect_All()
[B]
deselectAll()
[C]
deselect_All()
[D]
dselectAll()
(30)
Select the View which shows your script in HTML format.
[A]
The Field View
[B]
The Editor View
[C]
The Source View
[D]
Table View
31
Which Component is used to run multiple tests simultaneously in different browsers and platforms?
[A]
Selenium Grid
[B]
Selenium Webdriver
[C]
Selenium IDE
[D]
Selenium RC
32
Which method is used when you want to verify whether a certain checkbox, radio button, or option in a drop-down box is selected in Web driver Selenium
[A]
isSelected()
[B]
is_Select()
[C]
select()
[D]
is_Selected()
33
Select the tab which gives feedback and other useful information when executing tests.
[A]
Reference
[B]
Element
[C]
Feedback
[D]
Information
34
Select the command which is NOT used in verifying page elements.
[A]
verifyElementRight
[B]
verifyElementPositionLeft
[C]
verifyElementNotPresent
[D]
verifyElementPresent
Answer: verifyElementRight
35
Select the command which is used to compare the actual page title with an expected value.
[A]
verifiedTitles
[B]
verifyTitle
[C]
verifiedTitle
[D]
verifyTitles
36
Select the command which is used to pause execution until the page is loaded completely.
[A]
waitForPage
[B]
wait for load
[C]
waitForPageToLoad
[D]
waitForElementPresent
Answer: waitForPageToLoad
37
Select the command which is used to compare the contents of a table with expected values.
[A]
verifiable
[B]
verifyTableCell
[C]
verifyTableData
[D]
verifiable
38
Select the operating system which is NOT supported by Selenium IDE.
[A]
Solaris
[B]
Windows
[C]
Unix
[D]
Linux
39
Select the component which is NOT part of the Selenium suite.
[A]
Selenium Web
[B]
selenium grid
[C]
Selenium RC
[D]
Selenium IDE
40
What does the term regex expand to?
[A]
Regular Expression
[B]
Regional Expression
[C]
Regression Expression
[D]
Registered Expression
Answer: Regular Expression
Please share this page