• Skip to content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Educational Article
  • Technical Articles
  • Engineering Physics
  • English Grammar
  • Engineering Chemistry

Latest News on Educational and Technical Era

Latest News, Multiple choice Quiz, Technical, educational articles.

Selenium Quiz | Selenium Practice Test | Quiz #mcq.imBooz

January 11, 2020 by Dr. IM Leave a Comment

Download

Multiple Choice Questions on Selenium | Objective Questions | Selenium Quiz | MCQ | Selenium Practice Test

1 >>How do you start the browser? ?

  • (A) selenium.Start()
  • (B) get start()
  • (C) selenium.Server start()
  • (D) None of the above

2 >>Which Component is used to run multiple tests simultaneously in different browsers and platforms? ?

  • (A) Selenium GRID
  • (B) Selenium IDE
  • (C) Selenium RC
  • (D) Selenium Web Driver

3 >>Which of the following is an incorrect target for pattern matching as in verifyTextPresent command? ?

  • (A) glob:Customer*Subscriber
  • (B) You entered the character, ?
  • (C) regexp:[JFM]
  • (D) exact:* Summary

4 >>Which of the following always need a Capital letter ? ?

  • (A) fields and Strings
  • (B) class names and Strings
  • (C) objects and class names
  • (D) data types and fields

5 >>What are the different modes that Selenium uses? ?

Download
  • (A) *iehta
  • (B) *firefox and *iexplore
  • (C) *chrome
  • (D) All of the above

6 >>How do you start the browser? ?

  • (A) selenium.Start ()
  • (B) selenium.Startt()
  • (C) selenium. Server start()
  • (D) None of the above

Selenium Practice Test | Selenium Quiz

7 >>Select the Browser which is supported by Selenium IDE. ?

  • (A) Google chrome
  • (B) Opera mini
  • (C) Mozilla Firefox
  • (D) IE

8 >>How many parameters does the Selenium object take when using DefaultSelenium? ?

  • (A) 2
  • (B) 3
  • (C) 4
  • (D) 6

9 >>How do you start selenium rc server with user extensions? ?

  • (A) java -jar selenium-server.jar
  • (B) java -jar selenium-server.jar -user Extensions user-extensions.js
  • (C) java -jar selenium-server.jar user-extensions.js
  • (D) java -jar selenium-server.jar user-extensions.jr

10 >>Which Selenium command do you use to run commands in slow motion in Selenium RC? ?

  • (A) selenium.setSpeed()
  • (B) selenium.speed()
  • (C) selenium.serverSpeed()
  • (D) None of the above

11 >>Which command is used to get the alert box? ?

  • (A) assertequals(selenium.getAlert())
  • (B) selenium.getAlert()
  • (C) selenium.alertBox()
  • (D) selenium.click()

12 >>Which command is used for verifying if web element exists? ?

  • (A) selenium.isElementPresent(String locator)
  • (B) assertTrue(Selenium.isElementPresent())
  • (C) selenium.ElementPresent()
  • (D) None of the above

13 >>Which command is used for typing in a textbox? ?

  • (A) selenium.input()
  • (B) selenium.type(String locator, String value)
  • (C) assertequals(selenium.getValues())
  • (D) selenium.textInput()

Selenium Practice Test | Selenium Quiz

14 >>What is the command to load a page? ?

  • (A) selenium.waitForPageToLoad(String timeoutInMilliseconds)
  • (B) selenium.waitForPageToLoadInt timeoutInMilliseconds
  • (C) selenium.waitForPageToLoad(timeoutInMilliseconds)
  • (D) selenium.waitForPageToLoad()

15 >>How to use xpath for dynamic elements? ?

  • (A) Identify the pattern and modify xpath pattern
  • (B) Directly use the xpath
  • (C) Both 1 and 2
  • (D) None of the above

16 >>Is Regular expression helps to identify dynamic elements? ?

  • (A) Yes
  • (B) No
  • (C) Not very compatible
  • (D) Compatible

17 >>How to check if any check box is checked or not? ?

  • (A) driver.findElement(By.id(<>).Selected()
  • (B) driver.findElement(By.id(<>).isSelected()
  • (C) driver.findElement(By.id(<>).isChecked()
  • (D) All of the above

18 >>What is getWindowHandle method? ?

  • (A) Method will help to handle parent window
  • (B) Method will help to handle of opened windows other than parent
  • (C) Only handles alert
  • (D) None of the above

19 >>How to handle alert using selenium? ?

  • (A) driver.switchto.popup()
  • (B) driver.switchto
  • (C) driver.switchto.alert()
  • (D) None of the above

20 >>What is Iterator? ?

  • (A) Iterator enables you to cycle through a collection, obtaining or removing elements
  • (B) It basically starts at the beginning of a collection
  • (C) When you want to know which things are in a certain collection, you iterate over the collection, which is just another term for going through all elements. This is what an Iterator does
  • (D) All of the above

Download
Pages: Page 1 Page 2 Page 3

Filed Under: Competitive Exam Quiz Tagged With: Basic Selenium objective question, Certified Selenium Tester Foundation, general knowledge quiz, Mock Test, Multiple Choice Questions on Selenium, multiple choice questions on selenium commands, Old Papers, Online Quiz, selenium aptitude questions and answers, Selenium IDE, Selenium Practice Test, Selenium Question answers, Selenium questions MCQs with answers, Selenium Quiz, Selenium quiz game, Selenium quiz with answers

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recent Posts

  • The difference Between ChatGpt-3.5 and GPT-4 Everything you should know Big News
  • Breaking News: 1 बार बुरे फसे : कपिल शर्मा अभी भी दीपिका को पसंद करते है ?
  • 8 Tips for success in exams
  • [04] Python While Loops
  • [03] Python Conditional Statements
  • [02] Python Operators
  • [01] About Python
  • Migraine Cure effective Treatment | Home remedies माइग्रेन जड़ से खत्म
  • Quiet Quitting: potential causes and how to identify
  • What do you know about Superbug? | 2 common superbugs

Categories

m

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

DMCA.com Protection Status

Copyright © 2023 · Magazine Pro on Genesis Framework · WordPress · Log in