Selenium IDE Interview Questions with Answer


1. Identify the invalid options about Selenium IDE
a) It is a Firefox add-on and by using selenium IDE user can record and playback test cases in Firefox browser
b) Tester can export the test cases from selenium IDE in Java Language only
c) Tester can insert breakpoints in IDE
d) Selenium IDE scripts can be executed on other browsers (IE, Chrome, Safari)

2. ________ doesn't support programming.
a) Selenium IDE
b) Selenium RC
c) Selenium WebDriver
d) Selenium Grid

3. ___________ is the built-in feature of Mozilla Firefox Browser to inspect elements?
a) Firebug
b) Firepath
c) Page Inspector
d) POM (Page Object Model)

4. Which of the following functionality is not supported by Selenium IDE?
a) Database Testing
b) Conditional statement
c) All of the listed options
d) Error Handling

5. Which selenium command check whether specific text exists somewhere on the page ?
a) verifyTextPresent
b) verifyTextPresent
c) CheckTextPresent
d) VerifyPresentText

6. Which label is used as prefix pattern to specify a globbing pattern parameter for a Selenium IDE command ?
a) pattern
b) glob
c) regex
d) None

7. What does the assertTitle checks ?
a) Element title
b) Page title
c) Block title
d) Title of element under focus

8. Selenium IDE stands for
a) Selenium Intialization Development Environment
b) Selenium Interrelated Development Environment
c) Selenium Integrated Development Environment
d) Selenium Information Development Environment

9. Selenium IDE variables are stored in _____________.
a) storedVars
b) storedVariables
c) VariablesStore
d) None of the above

10. Select the command in Selenium IDE used to open a page using the URL.
a) OpenRecord
b) Open
c) OpenText
d) OpenTable

11. Select the command which is used to check the presence of a certain element.
a) verifyTable
b) verifyTitlePresent
c) verifyTextPresent
d) verifyElementPresent

12. Select the command which is used to print a string value or a variable in Selenium IDE.
a) The ‘display’ command
b) The ‘echo’ command
c) The ‘print’ command
d) The ‘printr’ command

13. Select the command which is used to compare the contents of a table with expected values.
a) verifyTables
b) verifyTableData
c) verifyTable
d) verifyTableCell

14. Select the command which is used to pause execution until the specified element becomes present.
a) waitForElementPresent
b) waitForPagePresent
c) waitForTablePresent
d) waitForFieldPresent

15. Select the tab which gives feedback and other useful information when executing tests.
a) Information
b) Feedback
c) Reference
d) Element

16. _________ is the use of Firebug in Selenium?
a) Programming
b) Inspecting Elements
c) Parallel Testing
d) Cross Browser Testing

17. Select the tab that shows which command Selenium IDE is currently executing.
a) Variable
b) Data
c) Information
d) Info

18. Select the View which shows your script in HTML format.
a) The Table View
b) The Source View
c) The Editor View
d) The Field View

19. Which is not true in case of Globs, in Selenium?
a) Globs are used as default pattern matching technique.
b) It is similar to regular expressions.
c) The syntax of Globs is much wider than Regular expression
d) b and b

20. Select the command that will NOT wait for a new page to load before moving onto the next command.
a) clickAndWait
b) selectAndType
c) typeAndWait
d) selectAndWait

21. The Actions commands
a) are commands that directly interact with page elements.
b) are commands that allow you to store values to a variable.
c) are commands that verify if a certain condition is met.

22. Which command should be used to confirm that test will pass in the future, when new element is added after page loaded?
a) waitForElementPresent
b) pause
c) assertElementPresent
d) None of these

23. Variable can be saved in which format?
a) ${variableName}
b) storedVars[‘variableName’].
c) Both of these
d) None of these

24. Which of the following is not verify and asserts method in Selenium?
a) VerifyElementPresent
b) VerifyElementNotPresent
c) VerifyText
d) VerifyTextAttributes

25. echo(): is used
a) to display the value of a variable in the log file, which can be very valuable for debugging.
b) Display the value of a variable named answer in the log file, what would the first argument to the previous command look like.
c) Both of these
d) None of these

26. Select the command which is used to pause execution until the page is loaded completely.
a) waitForPageToLoad
b) waitForElementPresent
c) waitForPage
d) waitForLoad

27. Select the command which is NOT used in verifying page elements .
a) verifyElementPresent
b) verifyElementRight
c) verifyElementNotPresent
d) verifyElementPositionLeft

28. Out of the following which is NOT a wait command.
a) waitForTitle
b) waitForTextPresent
c) waitForActive
d) waitForAlert

29. Select the command which retrieves the alert message and stores it in a variable that you will specify.
a) storeAlert
b) storedAlert
c) store_Alert
d) storesAlert

30. By Default time of WAITFOR command is :
a) 15 sec
b) 20 sec
c) 25 sec
d) 30 sec

Answer for the above questions,

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
b
a
c
c
a
b
b
c
a
b
d
b
c
a
c
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
b
d
b
c
b
a
a
c
d
c
a
b
c
a
d

Popular posts from this blog

Selenium Webdriver Interview Questions with Answer

DLL to Jar file conversion