Sunday, 19 April 2015

Selenium Quiz - 2

Select the component which is NOT part of Selenium suite.
 Selenium IDE
 Selenium RC
 SeleniumGrid
 Selenium Web
Select the language which is NOT supported by the Selenium RC.
 ASP
 Java
 C#
 PHP
Select the name which is NOT the type of the locaters.
 ID
 Name
 Password
 Link Text
Is Web Driver a component of the Selenium?
 No
 Yes
Selenium IDE stands for
 Selenium Intialization Development Environment
 Selenium Interrelated Development Environment
 Selenium Integrated Development Environment
 Selenium Information Development Environment
Select the Browser which is supported by Selenium IDE
 Google chrome
 Opera mini
 Mozilla Firefox
 Internet Explorer
Select the operating system which is NOT supported by Selenium IDE.
 Unix
 Linux
 Windows
 Solaris
The Web driver is used
 To execute tests on the HtmlUnit browser.
 To design a test using Selenese
 To quickly create tests
 To test a web application against Firefox only.
The Selenium IDE is used
 To create customized test results.
 To deploy your tests across multiple environments using Selenium Grid
 To test with HTMLUnit
 To test a web application against Firefox only.
The Selenium RC is used
 To run your test against different browsers (except HtmlUnit) on different operating systems.
 To create tests with little or no prior knowledge in programming.
 To test a web application against Firefox only.
 To run a huge test suite, that can be executed on multiple machines.
Out of the following which can only test web applications
 QTP
 Selenium
Select the command which is NOT a type of assertion in Selenium IDE.
 Assert
 Verify
 WaitFor
 Wait
Select the method which selects the option at the given index.
 selectByIndex()
 selectIndex()
 selectedByIndex()
 selectByIndexes()
The Selenium can
 access controls within the desktop
 both web and desktop applications
 only test web applications
The Selenium
 Provides professional customer support
 Test Reports are generated automatically
 Comes with a built-in object repository
 Cannot access elements outside of the web application under test
Can Google chrome be supported by Selenium IDE?
 Yes
 No
Can Unix operating system be supported by Selenium IDE?
 No
 Yes
Which command can be used to enter values onto text boxes?
 sendsKeys()
 sendKey()
 sendKeys
 sendKeys()
Select the language which is supported by The Selenium Web Driver
 Perl
 Sql
 ASP
 Cobol
Which Selenium component supports All Operating System?
 Selenium Generator
 Selenium IDE
 Selenium WebDriver
Select the command in Selenium IDE used to open a page using the URL.
 OpenRecord
 Open
 OpenText
 OpenTable
In case of Selenium IDE, the Source view shows your script in
 DHTML format
 J2EE format
 XML format
 HTML format.
The Actions commands
 are commands that directly interact with page elements.
 are commands that allow you to store values to a variable.
 are commands that verify if a certain condition is met.
Select the command which is used to check the presence of a certain element.
 verifyTable
 verifyTitlePresent
 verifyTextPresent
 verifyElementPresent
Select the command which is used to print a string value or a variable in Selenium IDE.
 The 'display' command
 The 'echo' command
 The 'print' command
 The 'printr' command
Which component of Selenium can create customized test results.
 Web driver
 Selenium RC
 Selenium IDE
 Selenium Grid
Select the command which is used to compare the contents of a table with expected values.
 verifyTables
 verifyTableData
 verifyTable
 verifyTableCell
Select the command which is used to pause execution until the specified element becomes present.
 waitForElementPresent
 waitForPagePresent
 waitForTablePresent
 waitForFieldPresent
Select the command that will NOT wait for a new page to load before moving onto the next command.
 clickAndWait
 selectAndType
 typeAndWait
 selectAndWait
Select the command which is used to pause execution until the page is loaded completely.
 waitForPageToLoad
 waitForElementPresent
 waitForPage
 waitForLoad
What can be used to test Flex/Flash applications using Selenium
 FlexUISelenium
 FlexUI
 UIFlexSelenium
 SeleniumFlex
Select the command which is used to compare the actual page title with an expected value.
 verifyTitle
 verifiedTitle
 verifyTitles
 verifiedTitles
Select the command which is NOT used in verifying page elements .
 verifyElementPresent
 verifyElementRight
 verifyElementNotPresent
 verifyElementPositionLeft
Select the tab which gives feedback and other useful information when executing tests.
 Information
 Feedback
 Reference
 Element
What is TestNG?
 TestNextGeneration
 TestNewGenerlization
 TestNewGeneration
 TestNextGenerations
Select the variation which finds elements based on the driver's underlying CSS selector engine in Web driver Selenium.
 By.cssSelected
 By.cssSelection
 By.cssSelector
 By.Selectcs
Select the variation which locates elements by the value of the "name" attribute in Web driver Selenium
 By.name
 By.nametag
 By.tagname
 By.nametags
Select the tab that shows which command Selenium IDE is currently executing.
 Variable
 Data
 Information
 Info
Which is a faster component between the SeleniumWeb driver and Selenium RC?
 Selenium RC
 Selenium Web driver
Select the variation which locates elements by the value of their "id" attribute in Web Driver Selenium
 By.id
 By.idno
 By.id_no
 By.tag_id
Select the Get command which fetches the inner text of the element that you specify in Web driver Selenium.
 getinnerText()
 get_in_Text()
 get_inner_Text()
 getText()
Which Navigate command takes you forward by one page on the browser's history in Web driver Selenium.
 navigate.forward()
 navigate().forward()
 navigate()_forward()
 navigate_forword()
Which method is used when you want to verify whether a certain check box, radio button, or option in a drop-down box is selected in Web driver Selenium
 is_Selected()
 isSelect()
 isSelected()
 is_Select()
Which Component is used to run multiple tests simultaneously in different browsers and platforms?
 Selenium Grid
 Selenium IDE
 Selenium RC
 Selenium Webdriver
Select the View which shows your script in HTML format.
 The Table View
 The Source View
 The Editor View
 The Field View
Select the method which clears all selected entries in Web driver Selenium.
 dselectAll()
 deselect_All()
 dselect_All()
 deselectAll()
Method which selects the option which displays the text matching the parameter passed to it
 selectVisibleText()
 selectByVisibleText()
 select_VisibleText()
 select_ByVisibleText()
Out of the following which is NOT a wait command.
 waitForTitle
 waitForTextPresent
 waitForActive
 waitForAlert
Select the command which retrieves the alert message and stores it in a variable that you will specify.
 storeAlert
 storedAlert
 store_Alert
 storesAlert
Select the method which performs a context-click at the current mouse location.
 click_Context()
 context.Click()
 contextClick()
 context_Click()


1 comment: