Selenium WebDriver
Selenium WebDriver
PHP
Java
javascript
2008
2006
2016 -- Correct
None of these
m
er as
Web application
co
eH w
Desktop application
o.
4. Out the following which can test only the web application ?
rs e
ALM
ou urc
QTP
Selenium -- Correct
o
aC s
All of these
v i y re
5. Selenium is Open-Source
True -- correct
False
ed d
ar stu
Chrome
sh is
Firefox -- correct
Mac
This study source was downloaded by 100000806952388 from CourseHero.com on 08-18-2021 05:30:41 GMT -05:00
https://www.coursehero.com/file/66019452/Selenium-WebDrivertxt/
Windows
Selenium IDE
Selenium IDE
Selenium WebDriver
m
11. Out the following which can test only the web application ?
er as
All of these
co
eH w
QTP
o.
Selenium -- correct rs e
ou urc
ALM
Chrome
v i y re
Firefox -- correct
Internet Explorer
ed d
13. Insteaded of running a full build package we can run with help of
ar stu
maven run
mvn run
True
True --correct
False
True --correct
This study source was downloaded by 100000806952388 from CourseHero.com on 08-18-2021 05:30:41 GMT -05:00
https://www.coursehero.com/file/66019452/Selenium-WebDrivertxt/
False
Maven - -version
maven -version
True --correct
False
19. JUnit and Nunit does has lots more functionality than TestNG ?
False --correct
True
m
20. @Test(description = “test method”) It is a description for a method ?
er as
True --correct
co
eH w
False
o.
21.TestNG works with Annotations and annotation can be represented with symbol
rs e
#
ou urc
@ --correct
$
o
aC s
*
v i y re
False
ed d
ar stu
@Script
sh is
@AfterSCript
Th
@Test -- correct
25. Implicit wait time is applied to all elements in your code while Explicit
waits are applied only to a single element for a specified amount of time.
True -- true
This study source was downloaded by 100000806952388 from CourseHero.com on 08-18-2021 05:30:41 GMT -05:00
https://www.coursehero.com/file/66019452/Selenium-WebDrivertxt/
False
Click_Context
context.Click()
context_Click()
contextClick() --correct
27. What is the unit of movements String argument in Drag and Drop Selenium
action?
cm
Percentage
inches
m
er as
pixel -- correct
co
eH w
28. In webdriver ” selectAllOptions() “ is a valid command.
o.
False --correct rs e
ou urc
True
29. Which command takes you forward by one page on the browser’s history?
o
navigate.forward
aC s
v i y re
Navigate.forward
Navigate().forward()-- correct
navigate.forward()
ed d
ar stu
Navigate.forward()
30. Which of the following clears all selected entries in Selenium Webdriver?
dselectAll()
sh is
deselectAll() -- correct
Th
dselect.All()
deselect.All()
wait.until(ExpectedConditions.presenceOfElementLocated(by));
None of these
Implicit wait
This study source was downloaded by 100000806952388 from CourseHero.com on 08-18-2021 05:30:41 GMT -05:00
https://www.coursehero.com/file/66019452/Selenium-WebDrivertxt/
32. It is a valid Selenium Command “driver.navigate().refresh ();”?
True --correct
False
getTagName()
getText()
sendKeys()
size()-- correct
m
er as
None of these
co
eH w
Normal POM Approach
o.
35. Data Driven Testing methodology in automated testing to test only a single
rs e
set of Test Data.
ou urc
False --correct
True
o
aC s
True --correct
False
ed d
False
True --correct
sh is
Pages folder
utility folder
Tests folder
string -- correct
bool
None of these
This study source was downloaded by 100000806952388 from CourseHero.com on 08-18-2021 05:30:41 GMT -05:00
https://www.coursehero.com/file/66019452/Selenium-WebDrivertxt/
char
True
False --correct
41. In POM both “@FindBy” & “how” annotations can be used in same class file
False
True -- correct
42. These annotations are part of page factory method (“@FindBy” & “how”)
False
True --correct
m
True -- Correct
er as
co
False
eH w
-----------------Final Assesement--------------
44. What are the navigation methods listed below.
o.
back()
rs e
ou urc
to()
forward()
v i y re
True
ed d
False --correct
ar stu
46. Which of the following options are valid ways to access an element by id?
driver.findElement(By.xpath("//*[@id='plans']")) -- correct
sh is
None of these
Th
driver.findElement(By.xpath("//*[@id=”plans”]"))
driver.findElement(By.xpath("//*[id='plans']"))
Signed dlls
Maven --correct
pip
This study source was downloaded by 100000806952388 from CourseHero.com on 08-18-2021 05:30:41 GMT -05:00
https://www.coursehero.com/file/66019452/Selenium-WebDrivertxt/
48. Which of the following programming language is not supported by selenium
webdriver ?
JavaScript
None of these
ASP.NET -- correct
Python
49. Which of the following ends with same as Xpath ends with *****************
$=
^=
&=
m
50. Which of the following programming language is supported by selenium
er as
webdriver ?
co
eH w
ASP
o.
SQL rs e
ou urc
Cobol
Perl -- Correct
o
51. What is the WebElement method used to get the BackGroud Color of an Element
aC s
getCss(“color”)
getCssText(“background-color”)
ed d
getCssValue(“background-color”) -- Correct
ar stu
getCssValue(“bg-color”)
True
Th
False -- correct
HTTP -- Correct
This study source was downloaded by 100000806952388 from CourseHero.com on 08-18-2021 05:30:41 GMT -05:00
https://www.coursehero.com/file/66019452/Selenium-WebDrivertxt/
JSON
AJAX
Websocket
m
er as
co
eH w
o.
rs e
ou urc
o
aC s
v i y re
ed d
ar stu
sh is
Th
This study source was downloaded by 100000806952388 from CourseHero.com on 08-18-2021 05:30:41 GMT -05:00
https://www.coursehero.com/file/66019452/Selenium-WebDrivertxt/
Powered by TCPDF (www.tcpdf.org)