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

Question:
Can Google chrome be supported by Selenium IDE?

1.Yes

2. no

3.all of the above

4.None of the mentioned


Question:
Can Unix operating system be supported by Selenium IDE?

1. No

2. Yes

3.all of the above

4.None of the mentioned


Question:
If an element got added after the page has loaded what command would you use to make sure the test passed in the future?

1.waitForElementPresent

2.pause

3.assertElementPresent

4.None of the mentioned


Question:
If you want to validate that a button has appeared on a page, which two commands would be the best two to use?

1.verifyTextPresent/assertTextPresent

2.verifyElementPresent/assertElementPresent

3.verifyAlertPresent/assertAlertPresent

4.verifyAlert/assertAlert


Question:
In 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 Web Driver a component of the Selenium?

1.No

2. Yes

3.all of the above

4.None of the mentioned


Question:
Out of the following which can only test web applications

1. QTP

2.Selenium RC

3.all of the above

4.None of the mentioned


Question:
Pick two from the following if you wanted do a partial match on an attribute on an element from the beginning of the value:

1. contains()

2.starts-with()

3.ends-with()

4.A & B


Question:
Select the Browser which is supported by Selenium IDE

1. Google chrome

2. Opera mini

3. Mozilla Firefox

4. Internet Explorer


Question:
Select the command in Selenium IDE used to open a page using the URL.

1.OpenRecord

2. Open

3.OpenText

4.OpenTable


Question:
Select the command which is NOT a type of assertion in Selenium IDE.

1. Assert

2.Verify

3. WaitFor

4. Wait


Question:
Select the command which is used to check the presence of a certain element.

1. verifyTable

2. verifyTitlePresent

3.verifyTextPresent

4.verifyElementPresent


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

1. Selenium IDE

2.Selenium RC

3.SeleniumGrid

4. Selenium Web


Question:
Select the language which is NOT supported by the Selenium RC.

1.ASP

2. Java

3.C#

4.PHP method


Question:
Select the language which is supported by The Selenium Web Driver

1. Perl

2. Sql

3.ASP

4.Cobol


Question:
Select the method which selects the option at the given index.

1.selectByIndex()

2.selectIndex()

3. selectedByIndex()

4. selectByIndexes()


Question:
Select the odd one using in Selenium

1. Pattern Matching

2.XPath

3.Id

4. CSS selector


Question:
Select the operating system which is NOT supported by Selenium IDE.

1.Unix

2. Linux

3. Windows

4. Solaris


Question:
Selenium command for entering text into text boxes?

1.sendKeys()

2.sendKey()

3. sendKey

4. SendsKeys()


Question:
Selenium IDE stands for

1.Selenium Intialization Development Environment

2. Selenium Interrelated Development Environment

3.Selenium Integrated Development Environment

4.Selenium Information Development Environment


Question:
Selenium method to get content which is inside any HTML tags?

1. getText()

2. getValue()

3.get()

4.getAttribute()


Question:
Selenium tests ______

1.DOS applications

2.Browser-based applications

3.GUI applications

4.none of the above


Question:
Selenium variables are stored in ______

1. storedVars

2.storedVariables

3. VariablesStore

4.None of the above


Question:
The Actions commands

1.are commands that directly interact with page elements.

2.are commands that allow you to store values to a variable.

3. are commands that verify if a certain condition is met.

4.All of the Mentioned


Question:
The Selenium can

1. access controls within the desktop

2. both web and desktop applications

3.only test web applications

4.None of the mentioned


Question:
The Selenium IDE is used

1.To create customized test results.

2.To deploy your tests across multiple environments using Selenium Grid

3. To test with HTMLUnit

4.To test a web application against Firefox only.


Question:
The Selenium RC is used

1.To run your test against different browsers (except HtmlUnit) on different operating systems.

2. To create tests with little or no prior knowledge in programming.

3.To test a web application against Firefox only.

4.To run a huge test suite, that can be executed on multiple machines.


Question:
The term AJAX expands to _______

1.Asynchronous Java and XML

2. Asynchronous JavaScript and XML

3. Accumulated Java and XML

4.none of the above


Question:
The term JSON refers to _______

1.JavaScript Object Notation

2.Java Object Notation

3. Java Object Naming

4.none of the above


Question:
The test language usually used in Selenium is ________

1. PHP

2. Python

3. JavaScript

4.none of the above


Question:
The Web driver is used

1.To execute tests on the HtmlUnit browser.

2. To design a test using Selenese

3.To quickly create tests

4. To test a web application against Firefox only.


Question:
What does the assertTitle checks ?

1.Element title

2. Page title

3.Block title

4. Title of element under focus


Question:
What does the term CSS refers to ?

1.Cascade Style Sheets

2. Cascading Style Sheets

3.Clear Style Sheets

4.Catering Style Sheets


Question:
What does the term DOM refers to ?

1. Dynamic Object Model

2. Document Object Model

3. Data Object Model

4. Document Flow Object Model


Question:
What does the term regex expands 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 called that scale for large test suites or test suites that must be run in multiple environments?

1.Selenium-Grid

2. Selenium RC

3. Selenium Web driver

4. Selenium NG


Question:
What is Selenium IDE ?

1.Windows Software

2.Firefox Plug-in

3. Java Software

4. Flash Plug-in


Question:
What is the best call for finding multiple elements using XPath?

1. findElementByXpath

2.findElementsByXPath

3. findElementByCssSelector

4.Both B & C


Question:
What is the best element locator in selenium webdriver?

1.ID

2.NAME

3.xPATH

4.CLASSPATH


Question:
Where is XPath used in ?

1. XML documents

2. XML documents

3.MS-Excel documents

4.MS-PowerPoint documents


Question:
Which  of the following method is used to work with multiple browser windows?

1. getMultipleWindows()

2.getWindowHandles()

3.getWindowhandle()

4.Both B &C


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

1. sendsKeys()

2.sendKey()

3.sendKeys

4. sendKeys()


Question:
Which label is used as 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 of the following expression is used for "anything"?

1.**

2. .*

3.*.

4.*+


Question:
Which of the following is not a wait command in Selenium?

1.waitForActive

2.waitForAlert

3.waitForTitle

4.None of these


Question:
Which of the following language is not supported by Selenium

1.PHP

2.C#

3. ASP

4.Java


Question:
Which one is a class in Selenium ?

1. WebDriverWait

2. WebElement

3.WebDriver

4.getPageSource


Question:
Which selenium command check whether specific text exists somewhere on the page ?

1. verifyTextPresent

2. verifyTextPresent

3. CheckTextPresent

4. VerifyPresentText


Question:
Which Selenium component supports All Operating System?

1.Selenium Generator

2.Selenium IDE

3.Selenium WebDriver

4.None of the mentioned


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!