Selenium doesn’t support __________ to write programs (Test Scripts)
1.Java
2.Kotlin
3. VBScript
4. Python
What is TestNG?
1.Programming Language
2. Test Tool
3. Build Automation Tool
4.Testing Framework
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
Extend waitFor (time in sec)
1. wait for (time in sec) extend
2. setTimeout (time in sec)
3.setTimeout.
4.None of the mentioned
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.
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_’)]
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
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.
Is there any authorized Selenium Certification?
1.No
2.Yes
3.all of the above
4.None of the mentioned
Select the command which is NOT used in verifying page elements.
1.verifyElementPresent
2.verifyElementRight
3.verifyElementNotPresent
4.verifyElementPositionLeft
Select the component which is NOT part of the Selenium suite.
1.Selenium IDE
2.Selenium RC
3. selenium grid
4. Selenium Web
Select the name which is NOT the type of the locators.
1.ID
2.Name
3.Password
4. Link Text
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
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
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
Selenium IDE doesn’t support_______
1. Recording
2. Batch Testing
3.Programming
4.Test Execution
Selenium IDE supports _____ Browser only to create and execute Test Cases.
1.Google Chrome
2.Internet Explorer
3.Mozilla Firefox
4. Opera
Selenium supports Computer Web Applications and ______
1.Desktop Applications
2.Mobile Native Applications
3.Mobile Web Applications
4.Mobile Hybrid Applications
Selenium supports ____________Testing Level
1.Unit Testing
2.Integration Testing
3.System Testing
4.Acceptance Testing
Selenium WebDriver doesn’t support_______
1.Recording
2.Batch Testing
3.Programming
4.Test Execution
TestNG stands for ——
1.TestNextGenerations
2.TestNextGeneration
3.TestNewGeneration
4. TestNewGenerlization
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
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
What does the assertTitle checks?
1.Element title
2. Page title
3. Block title
4.Title of an element under focus
What does the term DOM refer to?
1. Dynamic Object Model
2.Document Object Model
3.Data Object Model
4.Document Flow Object Model
What does the term regex expand to?
1.Registered Expression
2. Regular Expression
3.Regression Expression
4.Regional Expression
What is a test suite made of?
1.Test packs
2. Tests
3.Test blocks
4. Test pattern
What is Jenkins?
1.Continuous Integration Tool
2.Functional & Regression Test Tool
3.Mobile Test Tool
4.Testing Framework
What is Maven?
1.Programming Language
2.Test Tool
3.Build Automation Tool
4.Testing Framework
What is the default port number used by a hub in selenium?
1.4444
2.2222
3.1111
4.3333
Which command can be used to enter values into text boxes?
1. sendsKeys()
2.sendKey()
3. sendKeys
4. sendKeys()
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
Which component of Selenium can create customized test results?
1.Web driver
2.Selenium RC
3.Selenium IDE
4.Selenium Grid
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
Which is the most common way to find an element on a page?
1. id()
2. xpath()
3.cssSelector()
4.name()
Which is the odd one out?
1.ID
2.XPath
3.CSS selector
4.Pattern matching
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
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()
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()
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
Which regular expression sequence that loosely translates to “anything or nothing?â€
1.* (dot star)
2.*. (star dot)
3.“?
4.*+
____ is not a Selenium Component.
1.Selenium IDE
2.Maven
3.Selenium Grid
4.WebDriver
____ is the use of Firebug in Selenium?
1. Programming
2.Inspecting Elements
3. Parallel Testing
4.Cross Browser Testing
_____ doesn’t support Test design (Creating test Cases)
1.Selenium IDE
2. Selenium RC
3. Selenium WebDriver
4.Selenium Grid
_____ is a Disadvantage of Selenium WebDriver?
1.Cross-platform
2.Open Source
3.Parallel Test execution
4.Supports Web based Applications only
_____ is not a Bug Tracking Tool?
1.Bugzilla
2.Mantis
3.Cucumber
4.BugHost
_____ is not for Functional Test Automation?
1.Selenium
2.UFT/QTP
3.SilkTest
4.RPT
_____ supports Parallel Test Execution
1. Selenium IDE
2.Selenium RC
3. Selenium WebDriver
4.Selenium Grid
______ doesn’t support programming.
1.Selenium IDE
2. Selenium RC
3.Selenium WebDriver
4.Selenium Grid
______ 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.&=
______ is not a Mobile Test Tool?
1.Appium
2.Mantis
3.Silk Mobile
4.Ranorex
______ is not a Performance Test Tool?
1.LoadRunner
2.UFT/QTP
3.SilkPerformer
4.RPT
______ is not a Test Management Tool?
1.HP ALM
2.Jira
3.TestLink
4.Sahi
______ is the built-in feature of Mozilla Firefox Browser to inspect elements?
1.Firebug
2.Firepath
3.Page Inspector
4.POM (Page Object Model)
_______ 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