Showing posts with label Selenium. Show all posts
Showing posts with label Selenium. Show all posts

August 01, 2018

AUTOMATION TESTING - Technology SELENIUM L1

Question.
While using the accessor commands, if you want to initialize a variable and assign a value onto it, then we could use the
a) store command
b) init command
c) echo command
d) create command

Answer: store command

Question.
Which pane of the Selenium IDE provides the insight of current execution in the usage and form of messages and assists us to debug the concerns in case test case if execution fails?
a) Address Bar Pane
b) Test Case Pane
c) Log Pane
d) Error Pane

Answer: Log Pane

Question.
Each Selenium IDE test step can be divided into 3 components. What are they?
a) Command, Value, and Type
b) Command, Target, and Type
d) Command, Type, and Value
d) Command, Target, and Value

Answer: Command, Target, and Value

Question.
What would be correct selenese command, target and value if we want to enter the value 'steve@gmail.com' for id=email ?
a) Command -> enter Target -> id=email Value -> steve@gmail.com
b) Command -> enter Target -> steve@gmail.com Value -> id=email
c) Command -> type Target -> steve@gmail.com Value -> id=email
d) Command -> type Target -> id=email Value -> steve@gmail.com

Answer: Command -> type Target -> id=email Value -> steve@gmail.com

Question.
Every action/command that we use in the Selenium IDE is internally designed and developed as a function of
a) HTML function
b) Java function
c) XML function
d) JavaScript function

Answer: JavaScript function

Question.
Selenium IDE has a color coding component for reporting purpose. When the execution is done, what color is the test case marked in to signify the successful run of it?
a) Red
b) Purple
c) Blue
d) Green

Answer: Green

Question.
Which option of Selenium IDE can be used to ascertain that the locator value provided in the Target text box is indeed correct and identifies that designated web element on the GUI?
a) Search button
b) Find button
c) Select button
d) View button

Answer: Find button

Question.
Which of the statements describe assertTitle and verifyTitle commands correctly?
a) assertTitle will check that the title value has to be correct. Otherwise, it fails and it ends the play of other added steps. On the other side verifyTitle will check that the title value has to be correct, but if incorrect, it marks it as failed but proceeds with other steps

b) assertTitle or verifyTitle works the same way to check whether the title value is correct. There is no difference between them.

c) assertTitle will check that the title value has to be correct. Otherwise, it marks it as failed but proceeds with other steps. On the other side, verifyTitle will check that the title value has to be correct. Otherwise, it terminates the play of other steps.

d) assertTitle checks whether web page title is correct whereas verifyTitle checks whether the web application title is correct

Answer: assertTitle will check that the title value has to be correct. Otherwise, it fails and it terminates the play of other steps. On the other side verifyTitle will check that the title value has to be correct, but if incorrect, it marks it as failed but proceeds with other steps

Question.
Which of the below is NOT an advantage of automated testing?
a) High ROI
b) Improves accuracy
c) Attended execution
d) Reduces human generated errors

Answer: Attended execution

Question.
Which of the options given is an 'Action' type of command of Selenese?
a) assertTitle
b) click
c) verifyTitle
d) waitFor

Answer: click

Question.
The technique or method used by the Selenium IDE to find and access a particular element on your web page is called
a) Recording technique
b) Playback technique
c) Locator strategy
d) User Experience strategy

Answer: Locator strategy

Question.
Custom made commands that we could create as a JavaScript function can extending the Selenium IDE by adding
a) Parameters
b) User Extension
c) File Logging Extension
d) Firebug Extension

Answer: User Extension

Question.
Which of the below is NOT a feature of Selenium?
a) Commercial
b) Has different products in its suite
c) Supports multiple language implementations
d) Supports multiple platforms

Answer: Commercial

Question.
Selenium IDE is implemented as a plug-in of
a) Google Chrome browser
b) Opera browser
c) Microsoft Edge browser
d) Firefox browser

Answer: Firefox browser

Question.
Which of the statements about the Selenese commands is FALSE?
a) All the selenese commands take mandatorily 2 arguments
b) Commands can be of action type, accessor type or assertion type
c) Commands of Selenium remain internally applied as JavaScript functions
d) Commands help us to perform some test steps

Answer: All the selenese commands take mandatorily 2 arguments

Question.
Which of the possibilities is NOT a dis-advantage of Selenium IDE?
a) No support for iterations and conditional statements
b) No logging capabilities
c) No test script dependencies and grouping possible
d) No database testing

Answer: No logging capabilities

Question.
The Selenium IDE commands can be categorized mainly into 3 categories. What are they?
a) Actions, Renderers, Viewers
b) Actions, Accessors, Assertions
c) Actions, Recorders, Playback
d) Do, view, get

Answer: Actions, Accessors, Assertions

Question.
Which Selenium IDE plug-in is required to enable the tester to save log messages into an external file?
a) Debugger plugin
b) File Logging plugin
c) Log Metrics plugin
d) Error Metrics plugin

Answer: File Logging plugin

Question.
Which of the choices provided is NOT Custom made commands that we might
a) Selenium IDE runs recording and playback feature for ease of creating test cases
b) Selenium IDE delivers several selenese commands to help create test cases easily
c) Selenium IDE needs us to write functionalities in Java or any other programming language
d) Selenium IDE supports logging execution messages to external log files if required

Answer: Selenium IDE requires us to write functionalities in Java or any other programming language

Question.
The Selenese command that can be used to check if the application title is correct or not is
a) assertTitle
b) assertAppTitle
c) assertValidTitle
d) assertValidAppTitle

Answer: assertTitle