Q.1 Out the following which can test only the web application ?
A. QTP
B. ALM
C. Selenium
D. All of these
Ans : Selenium
Q.2 What kind of application is Selenium IDE ?
A. Desktop application
B. Web application
C. Firefox add-on
D. None of these
Ans : Firefox add-on
Q.3 Which Selenium components helps with Perfomance testing ?
A. Selenium IDE
B. Selenium WebDriver
C. Selenium Grid
D. Selenium RC
Ans : Selenium Grid
Q.4 Which of the following language is used in selenium as a test language ?
A. PHP
B. Java
C. javascript
D. All of these
Ans : All of these
Q.5 Which languages is Supported in Selenium ?
A. Python
B. Java
C. Ruby
D. All of these
Ans : All of these
Q.6 What does the term JSON expands on ?
A. Java object naming
B. Java object notation
C. Javascript object notation
D. None of these
Ans : Javascript object notation
Q.7 Selenium IDE supports in ?
A. Internet Explorer
B. Firefox
C. Chrome
D. All the options
Ans : Firefox
Q.8 On what OS does Selenium works?
A. Windows
B. Linux
C. Mac
D. All the options
Ans : All the options
Q.9 What does Ajax refers
A. Asynchronous Java and XML
B. Asynchronous Javascript and XML
C. Accmulated Java and XML
D. None of these
Ans : Asynchronous Javascript and XML
Q.10 Between Selenium RC & Webdriver component Which is faster ?
A. Selenium RC
B. Selenium WebDriver
C. Selenium Grid
D. Selenium IDE
Ans : Selenium WebDriver
Q.11 Which version on Firefox Browser need GeckoDriver ?
A. Firefox version 50+
B. Firefox version 47+
C. Firefox version 45+
D. Firefox version 40+
Ans : Firefox version 47+
Q.12 Which component of selenium support web broswers across OS ?
A. Selenium WebDriver
B. Selenium IDE
C. Selenium Generato
D. All the options
Ans : Selenium WebDriver
Q.13 Selenium 3.0 introduced in which year ?
A. 2004
B. 2016
C. 2006
D. 2008
Ans : 2016
Q.14 Selenium is Open-Source
A. True
B. False
Ans : True
Q.15 Can we Integrate TestNG and Jenkins with Maven ?
A. True
B. False
Ans : True
Q.16 Maven POM refers – Page Object Model
A. True
B. False
Ans : False
Q.17 Maven POM refers – Project Object Model
A. True
B. False
Ans : True
Q.18 Apache POI help to read Excel File ?
A. True
B. False
Ans : True
Q.19 JUnit and Nunit does has lots more functionality than TestNG ?
A. True
B. False
Ans : False
Q.20 Which of the following command is use to check Maven version ?
A. mvn version
B. Maven – -version
C. mvn –version
D. maven -version
Ans : mvn –version
Q.21 Insteaded of running a full build package we can run with help of
A. maven clean install
B. maven run
C. mvn clean install
D. mvn run
Ans : mvn clean install
Q.22 TestNG works with Annotations and annotation can be represented with symbol
A. *
B. #
C. $
D. @
Ans : @
Q.23 What are the Annotations available In Testng?
A. @AfterSCript
B. @BeforeScript
C. @Test
D. @Script
Ans : @Test
Q.24 Which of the following method performs a context-click at the mouse location?
A. context.Click()
B. contextClick()
C. Click_Context
D. context_Click()
Ans : contextClick()
Q.25 What is the unit of movements String argument in Drag and Drop Selenium action?
A. cm
B. inches
C. Percentage
D. pixel
Ans : pixel
Q.26 WebDriverWait wait = new WebDriverWait(driver, 30);
wait.until(ExpectedConditions.presenceOfElementLocated(by));
The above wait condition is considered an:
A. Implicit wait
B. Explicit wait
C. None of these
Ans : Explicit wait
Q.27 @Test(description = “test method”) It is a description for a method ?
A. True
B. False
Ans : True
Q.28 In TestNG “NG” Stands for Next Generation
A. True
B. False
Ans : True
Q.29 In webdriver ” selectAllOptions() “ is a valid command.
A. True
B. False
Ans : False
Q.30 It is a valid Selenium Command “driver.navigate().refresh ();”?
A. True
B. False
Ans : True