JOIN ADRE 2.0 Telegram Group

Selenium Quiz | Selenium Multiple Choice Questions(MCQs) and Answers

Questions
1 Selenium IDE stands for
A Selenium Integrated Development Environment
B Selenium Information Development Environment
C Selenium Interrelated Development Environment
D Selenium Initialization Development Environment

Answer: Selenium Integrated Development Environment
2 Select the Browser which is supported by Selenium IDE
A Internet Explorer
B Google Chrome
C Mozilla Firefox
D Opera mini

Answer: Mozilla Firefox
Advertisement
Article and Schedule Quiz Start Test!

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

3 The Web driver is used
A To test a web application against Firefox only.
B To design a test using Selenese
C To execute tests on the HtmlUnit browser.
D To quickly create tests

Answer: To execute tests on the HtmlUnit browser.
4 The Selenium IDE is used
A To test with HTMLUnit
B To test a web application against Firefox only.
C To deploy your tests across multiple environments using Selenium Grid
D To create customized test results.

Answer: To test a web application against Firefox only.
5 The Selenium RC is used
A To run a huge test suite, that can be executed on multiple machines.
B To run your test against different browsers (except HtmlUnit) on different operating systems.
C To test a web application against Firefox only.
D To create tests with little or no prior knowledge in programming.

Answer: To run your test against different browsers (except HtmlUnit) on different operating systems.
6 Select the method which selects the option at the given index.
A selectByIndexes()
B selectIndex()
C selectByIndex()
D selectedByIndex()

Answer: selectByIndex()
7 The Selenium
A Comes with a built-in object repository
B Test Reports are generated automatically
C Cannot access elements outside of the web application under test
D Provides professional customer support

Answer: Cannot access elements outside of the web application under test
8 In the case of Selenium IDE, the Source view shows your script in
A XML format
B HTML format
C J2EE format
D DHTML format

Answer: XML format
9 Select the command which is used to check the presence of a certain element.
A verifyElementPresent
B verifyTextPresent
C verifiable
D verifyTitlePresent

Answer: verifyElementPresent
10 Select the command which is used to print a string value or a variable in Selenium IDE.
A The ‘echo’ command
B The ‘printr’ command
C The ‘print’ command
D The ‘display’ command

Answer: The ‘echo’ command
11 Which component of Selenium can create customized test results?
A Selenium Grid
B Selenium RC
C Web driver
D Selenium IDE

Answer: Web driver
12 Select the command which is used to pause execution until the specified element becomes present.
A waitForFieldPresent
B waitForElementPresent
C waitForPagePresent
D waitForTablePresent

Answer: waitForElementPresent
13 Select the command that will NOT wait for a new page to load before moving onto the next command.
A selectAndWait
B typeAndWait
C selectAndType
D clickAndWait

Answer: selectAndType
14 Select the syntax to locate an element using inner text.
A css=tag:attributes(“inner text”)
B css=tag:class(“inner text”)
C css=tag:contains(“inner text”)
D css=tag:value(“inner text”)

Answer: css=tag:contains(“inner text”)
15 What is TestNG?
A TestNextGenerations
B TestNextGeneration
C TestNewGenerlization
D TestNewGeneration

Answer: TestNextGeneration
16 Select the variation which finds elements based on the driver’s underlying CSS selector engine in Web driver Selenium.
A By.cssSelector
B By.Select
C By.cssSelection
D By.cssSelected

Answer: By.cssSelector
17 Select the variation which locates elements by the value of the “name” attribute in Web driver Selenium
A By.nametags
B By.nametag
C By.name
D By.tagname

Answer: By.name
18 Select the Get command which fetches the inner text of the element that you specify in Web driver Selenium.
A getText()
B get_inner_Text()
C get_in_Text()
D getinnerText()

Answer: getText()
19 Which Navigate command takes you forward by one page on the browser’s history in Web driver Selenium.
A navigate().forward()
B navigate_forword()
C navigate()_forward()
D navigate.forward()

Answer: navigate().forward()
20 Method which selects the option which displays the text matching the parameter passed to it
A selectByVisibleText()
B select_ByVisibleText()
C select_VisibleText()
D selectVisibleText()

Answer: selectByVisibleText()

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