Selenium/Selenium Mcq Question Set 3 Sample Test,Sample questions

Question:
 Selenium doesn’t support __________ to write programs (Test Scripts)

1.Java

2.Kotlin

3. VBScript

4. Python


Question:
 What is TestNG?

1.Programming Language

2. Test Tool

3. Build Automation Tool

4.Testing Framework


Question:
Applications do not have the items needed for the tests when the tests get to commands. To get around this, we had a look at adding for waitFor commands to test. This is related to

1.Debugging tests

2.Working with AJAX applications

3.Working with multiple windows

4.All of these


Question:
Extend waitFor (time in sec)

1. wait for (time in sec) extend

2. setTimeout (time in sec)

3.setTimeout.

4.None of the mentioned


Question:
How to execute a specific command?

1.Highlight a command. Press Ctrl + F9.

2.Highlight a command. Press Alt + F9.

3.Highlight a command. Press Ctrl + X.

4.Highlight a command. Press X.


Question:
If you wanted to access the element that has the text “This element has an ID that changes every time the page is loaded” in it, then which of the following is used:

1. //div[contains(@id,’time_’)]

2.//div[contains(@id_time())]

3.//div[parameter(@id_time())]

4.//div[parameter(@id,’time_’)]


Question:
In selenium, parent and child nodes are in the same query because HTML has a tree structure.

1.True

2.False

3.all of the above

4.None of the mentioned


Question:
In the case of Selenium IDE, the Source view shows your script in

1.DHTML format

2.J2EE format

3.XML format

4.HTML format.


Question:
Is there any authorized Selenium Certification?

1.No

2.Yes

3.all of the above

4.None of the mentioned


Question:
Select the command which is NOT used in verifying page elements.

1.verifyElementPresent

2.verifyElementRight

3.verifyElementNotPresent

4.verifyElementPositionLeft


Question:
Select the component which is NOT part of the Selenium suite.

1.Selenium IDE

2.Selenium RC

3. selenium grid

4. Selenium Web


Question:
Select the name which is NOT the type of the locators.

1.ID

2.Name

3.Password

4. Link Text


Question:
Select the variation which finds elements based on the driver’s underlying CSS selector engine in Web driver Selenium.

1.By.cssSelected

2.By.cssSelection

3.By.cssSelector

4. By.Select


Question:
Select the variation which locates elements by the value of the “name” attribute in Web driver Selenium

1.By.name

2.By.nametag

3.By.tagname

4.By.nametags


Question:
Select the variation which locates elements by the value of their “id” attribute in Web Driver Selenium

1.By.id

2.By.idno

3.By.id_no

4.By.tag_id


Question:
Selenium IDE doesn’t support_______

1. Recording

2. Batch Testing

3.Programming

4.Test Execution


Question:
Selenium IDE supports _____ Browser only to create and execute Test Cases.

1.Google Chrome

2.Internet Explorer

3.Mozilla Firefox

4. Opera


Question:
Selenium supports Computer Web Applications and ______

1.Desktop Applications

2.Mobile Native Applications

3.Mobile Web Applications

4.Mobile Hybrid Applications


Question:
Selenium supports ____________Testing Level

1.Unit Testing

2.Integration Testing

3.System Testing

4.Acceptance Testing


Question:
Selenium WebDriver doesn’t support_______

1.Recording

2.Batch Testing

3.Programming

4.Test Execution


Question:
TestNG stands for ——

1.TestNextGenerations

2.TestNextGeneration

3.TestNewGeneration

4. TestNewGenerlization


Question:
The Selenium

1.Provides professional customer support

2. Test Reports are generated automatically

3.Comes with a built-in object repository

4.Cannot access elements outside of the web application under test


Question:
We use the dot (.) operator followed by either a * or a +. The + tells the regular expression that there will be instances between “0” and “n”, while the * tells the regular expression that there will be instances between “1” and “n”.

1. True

2.FALSE

3.all of the above

4.None of the mentioned


Question:
What does the assertTitle checks?

1.Element title

2. Page title

3. Block title

4.Title of an element under focus


Question:
What does the term DOM refer to?

1. Dynamic Object Model

2.Document Object Model

3.Data Object Model

4.Document Flow Object Model


Question:
What does the term regex expand to?

1.Registered Expression

2. Regular Expression

3.Regression Expression

4.Regional Expression


Question:
What is a test suite made of?

1.Test packs

2. Tests

3.Test blocks

4. Test pattern


Question:
What is Jenkins?

1.Continuous Integration Tool

2.Functional & Regression Test Tool

3.Mobile Test Tool

4.Testing Framework


Question:
What is Maven?

1.Programming Language

2.Test Tool

3.Build Automation Tool

4.Testing Framework


Question:
What is the default port number used by a hub in selenium?

1.4444

2.2222

3.1111

4.3333


Question:
Which command can be used to enter values into text boxes?

1. sendsKeys()

2.sendKey()

3. sendKeys

4. sendKeys()


Question:
Which command should be used to confirm that test will pass in the future when a new element is added after page loaded?

1.waitForElementPresent

2.pause

3. assertElementPresent

4.None of these


Question:
Which component of Selenium can create customized test results?

1.Web driver

2.Selenium RC

3.Selenium IDE

4.Selenium Grid


Question:
Which is a faster component between the selenium web driver and Selenium RC?

1.Selenium RC

2.Selenium Web driver

3.By.idno

4.None of the mentioned


Question:
Which is the most common way to find an element on a page?

1. id()

2. xpath()

3.cssSelector()

4.name()


Question:
Which is the odd one out?

1.ID

2.XPath

3.CSS selector

4.Pattern matching


Question:
Which label is used as a prefix pattern to specify a globbing pattern parameter for a Selenese command?

1. pattern

2.glob

3.regex

4.None of the mentioned


Question:
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

1. is_Selected()

2.select()

3.isSelected()

4.is_Select()


Question:
Which Navigate command takes you forward by one page on the browser’s history in Web driver Selenium.

1. navigate.forward()

2.navigate().forward()

3. navigate()_forward()

4.navigate_forword()


Question:
Which process uses the JavaScript to find an element?

1.By DOM query

2. BY XPath query

3.BY CSS sector

4.All of these


Question:
Which regular expression sequence that loosely translates to “anything or nothing?”

1.* (dot star)

2.*. (star dot)

3.“?

4.*+


Question:
____ is not a Selenium Component.

1.Selenium IDE

2.Maven

3.Selenium Grid

4.WebDriver


Question:
____ is the use of Firebug in Selenium?

1. Programming

2.Inspecting Elements

3. Parallel Testing

4.Cross Browser Testing


Question:
_____ doesn’t support Test design (Creating test Cases)

1.Selenium IDE

2. Selenium RC

3. Selenium WebDriver

4.Selenium Grid


Question:
_____ is a Disadvantage of Selenium WebDriver?

1.Cross-platform

2.Open Source

3.Parallel Test execution

4.Supports Web based Applications only


Question:
_____ is not a Bug Tracking Tool?

1.Bugzilla

2.Mantis

3.Cucumber

4.BugHost


Question:
_____ is not for Functional Test Automation?

1.Selenium

2.UFT/QTP

3.SilkTest

4.RPT


Question:
_____ supports Parallel Test Execution

1. Selenium IDE

2.Selenium RC

3. Selenium WebDriver

4.Selenium Grid


Question:
______ doesn’t support programming.

1.Selenium IDE

2. Selenium RC

3.Selenium WebDriver

4.Selenium Grid


Question:
______ finds the item ending with the value passed in. This is the equivalent to the XPath ends-with. Is concern with?

1.^=

2.$=

3.*=

4.&=


Question:
______ is not a Mobile Test Tool?

1.Appium

2.Mantis

3.Silk Mobile

4.Ranorex


Question:
______ is not a Performance Test Tool?

1.LoadRunner

2.UFT/QTP

3.SilkPerformer

4.RPT


Question:
______ is not a Test Management Tool?

1.HP ALM

2.Jira

3.TestLink

4.Sahi


Question:
______ is the built-in feature of Mozilla Firefox Browser to inspect elements?

1.Firebug

2.Firepath

3.Page Inspector

4.POM (Page Object Model)


Question:
_______ is an Advantage of Selenium WebDriver?

1.Supports Web-based Applications only

2.No built-in Result Reporting facility

3. Open Source

4.No IDE


More MCQS

  1. Selenium Mcq Question Set 1
  2. Selenium Mcq Question Set 2
  3. Selenium Mcq Question Set 3
Search
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!