JOIN ADRE 2.0 Telegram Group

Selenium Quiz | Selenium Objective Type Questions and Answers

Questions
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.
Advertisement
Article and Schedule Quiz Start Test!

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

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)

Answer: setTimeout
24 Which is the odd one out?
A CSS selector
B Pattern matching
C ID
D XPath

Answer: Pattern matching
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()

Answer: contextClick()
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

Answer: storeAlert
28 Out of the following which is NOT a wait command.
A waitForAlert
B U.K. leadership
C wait for title
D waitForTextPresent

Answer: wait for active
29 Select the method which clears all selected entries in Web driver Selenium.
A dselect_All()
B deselectAll()
C deselect_All()
D dselectAll()

Answer: deselectAll()
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

Answer: The Source 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

Answer: Selenium Grid
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()

Answer: isSelected()
33 Select the tab which gives feedback and other useful information when executing tests.
A Reference
B Element
C Feedback
D Information

Answer: Reference
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

Answer: verifyTitle
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

Answer: verifiable
38 Select the operating system which is NOT supported by Selenium IDE.
A Solaris
B Windows
C Unix
D Linux

Answer: Unix
39 Select the component which is NOT part of the Selenium suite.
A Selenium Web
B selenium grid
C Selenium RC
D Selenium IDE

Answer: Selenium Web
40 What does the term regex expand to?
A Regular Expression
B Regional Expression
C Regression Expression
D Registered Expression

Answer: Regular Expression

ADRE 2.0 FULL LENGTH MOCK TEST

Take Mock Tests

Missiles Mock Test Start Test!
SSC MTS Mock Test Start Test
IBPS CLERK MOCK TEST Start Test
SSC MTS 2022 JULY 26 Shift 1 (ENGLISH) Start Test!
SSC GD Previous Year Paper 2021 Nov 17 Shift - I (Hindi) Start Test!
SSC CGL Tier - 1 PYP 2022 April 21 Shift- 1 (ENGLISH) Start Test!
MPSC PAPER I MOCK TEST 1 (ENGLISH) Start Test!
IB Security Assistant Mock test 1 (english) Start Test!
UP POLICE CONSTABLE MOCK TEST 1 Start Test!
DELHI POLICE CONSTABLE MOCK TEST 1 (HINDI) Start Test!
Advertisement
Assam Direct Recruitment Test Series