Selenium Quiz | Selenium Short Questions and Answers

Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Questions
41 What is a test suite made of?
A Test pattern
B Test blocks
C Tests
D Test packs

Answer: Tests
42 What does the term DOM refer to?
A Document Object Model
B Document Flow Object Model
C Data Object Model
D Dynamic Object Model

Answer: Document Object Model
Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP
43 Where is XPath used in?
A MS-PowerPoint documents
B MS-Excel documents
C XML documents
D MS-Word documents

Answer: XML documents
44 What is called that scale for large test suites or test suites that must be run in multiple environments?
A CSS selector
B Selenium NG
C Selenium Web driver
D Selenium RC

Answer: Selenium-Grid
45 What is Selenium IDE?
A Firefox Plug-in
B Flash Plug-in
C Java Software
D Windows Software

Answer: Firefox Plug-in
46 What does the term CSS refer to?
A Cascading Style Sheets
B Catering Style Sheets
C Clear Style Sheets
D Cascade Style Sheets

Answer: Cascading Style Sheets
47 Which selenium command check whether specific text exists somewhere on the page?
A VerifyPresentText
B CheckTextPresent
C verifyTextPresent
D verifyTextPresent

Answer: verifyTextPresent
48 Selenium variables are stored in _____________.
A VariablesStore
B stored variables
C storedVars
D None of the above

Answer: storedVars
49 Selenium tests _____________.
A Browser-based applications
B GUI applications
C DOS applications
D None of the above

Answer: Browser-based applications
50 The term JSON refers to ______________.
A Java Object Naming
B Java Object Notation
C JavaScript Object Notation
D None of the above

Answer: JavaScript Object Notation
51 The term AJAX expands to ________.
A Accumulated Java and XML
B Asynchronous Java and XML
C Asynchronous JavaScript and XML
D None of the above

Answer: Asynchronous JavaScript and XML
52 Which is not true in case of Globs, in Selenium?
A The syntax of Globs is much wider than Regular expression.
B It is similar to regular expressions.
C Globs are used as default pattern matching technique.
D Both B and C

Answer: The syntax of Globs is much wider than Regular expression.
53 Which is not the advantage of Selenium IDE?
A Auto complete for all common Selenium commands
B Intelligent field selection will use IDs, names, or XPath as needed.
C Support for Selenium user- extensions .jr file
D None of these.

Answer: Support for Selenium user- extensions .jr file
54 In Selenium variables are stored in _____________ .
A VariablesStore
B storedVars
C storedVariables
D All of the above

Answer: storedVars
55 How to execute specific command?
A Highlight a command. Press Ctrl + F9.
B Highlight a command. Press Alt + F9
C Highlight a command. Press Ctrl + X.
D Highlight a command. Press X.

Answer: Highlight a command. Press X
56 The ' // ' tells the query that ___________.
A The path of the file or folder
B It needs to stop at the first element that it finds
C This is comment
D All of these

Answer: It needs to stop at the first element that it finds
57 By Default time of WAITFOR command is ______.
A 30 sec
B 25 sec
C 20 sec
D 15 sec

Answer: 30 sec
58 To delete a cookie we need to call the deleteCookie method and we are passing in two parameters, what are those parameters?
A The first parameter is where it was created, and the second parameter is the name of cookie
B The first parameter is the name of the cookie, and the second parameter is where it was created.
C Both of these
D None of these

Answer: The first parameter is the name of the cookie, and the second parameter is where it was created.
59 Applications do not have the items needed for the tests when the tests get to commands. To get around this, we had a look at adding for 'waitFor' commands to test. This is related to while ___________.
A Working with multiple windows
B Debugging tests
C Working with AJAX applications
D All of these

Answer: Working with AJAX applications
60 What is the most common way to find an element on a page?
A CSS selector
B ID
C Name
D XPath

Answer: ID
Assam Direct Recruitment Test Series

Teacher Eligibility Test

Assam Direct Recruitment Test Series