1)which allow pages to be joined together so that end users can navigate your site with ease?
a)Finder
b)Link
c)Firebug
d)index
C)Firebug is correct
2)which operator finds the item starting with the value passed in?
a)//
b)$
c)^
d)*
B)$ is correct
3)If locator does not have the locator type identifier in front on it, Selenium will be default to?
a)DOM
b)Xpath
c)Identifier
d)All the above
A)DOM is correct
4)which is the base language of selenium?
a)VBscript
b)Java script
c)XML
d)HTML
B)java Script is correct
5)If you wanted to use java script to find the element on the page,which strategy would you find it?
a)Contains()
b)//input/following-sibling::input
c)Assert command
d)DOM locator strategy
6)Name the object that allows our tests to access the page?
a)waitForCondition
b)storedVars
c)DOM locator
d)Browser
C)dom locator is correct
7)_______ is used to control the execution of tests and the compares the actual outcome with defiend?
a)selenium
b)Assertion
c)both 1 & 2
d)Test Automation
8)Name the language which is used to write test script in selenium IDE?
a)Javascript
b)HTML
c)cascade style sheet
d)Selenese
9)which of the following is the latest tool of selenium?
a)chrome Driver
b)SeleniumRC
c)WebDriver
d)Both 2 & 3
C)web Driver is correct
10)_________ is used to set the browser window size?
a)setSize()
b)SizeSet
c)SizeOf
d)Size
A)setSize() is correct
11)Name the keyword used for regular expression in selenium?
a)Rexp
b)Expr
c)Both 1 & 2
d)regexp
D)regexp is correct
12)which of the following special character is used for pattern matching?
a)[]
b)*
c)?
d)All the above
13)which of the following syntax skips @Text method from execution?
a) new skipexception("skipped")
b)throw new skipexception("skipped")
c) skipexception("skipped")
d)new throw skipexception("skipped")
14)which of the following expression matches the attribute finds the item ending with the value passed in?
a)^=
b)*=
c)$=
d)@=
15)________ finds the multiple elements using Xpath?
a)findElementByXpath
b)findElementsByXpath
c)findElementBycssSelector
d)all the above
B)findElementsByXpath is correct
16)Name the open source automation tool for web application which is designed to provide a simpler, more concise programming interface in addition to addressing some limitations in the selenium-RC API?
a)Remote procedure call
b)web driver
c)HTMLUnit driver
d)Intergrated development
17) Name the method which is used to retrieve css properties of an elements?
a)fetch()
b)set()
c)in()
d)get()
18)which of the following is more lightweight in the way that it transfers the data?
a)AJAX
b)IDE
c)XML
d)JSON
A)JSON is correct
19)Name the tool that allows developers to find elements on the page by using the find functionality?
a)Firebug
b)IE developer
c)css
d)None of the above
20)_________ allow page to be joined together so that end users can navigate your site with ease?
a)Finder
b)Link
c)Firebugs
d)Index
B)Link is correct
21)_________ tells the query that it needs to stop at the frist element that is finds?
a)?
b)#
c)/*
d)//
C)/* is correct
22)_________ is used extensively throught Selenium as the default pattern matching technique?
a)xpath
b)css Selector
c)Constructor
d)Globs
A)xpath is correct
23)which commands will wait until it returns true?
a)call
b)Browserwait
c)waitForCondition
d)stordvars
D)storvars is correct
24)which of the following command validates and verifies that an element in on the page but not inturrept?
a)Assert
b)Verify
c)Storedvars
d)Browsers
B)Verify is correct
25)what color is an element bordered with when the Find button is clicked in Selenium IDE?
a)Blue
b)Green
c)Red
d)yellow
B is correct
No comments:
Post a Comment