MCQ Selenium Test 1

1. Which is used for writing Selenium 3.0 Script?
A. FirefoxDriver
B. RemoteWebDriver
C. WebDriver
D. All the above



2. Which is a Class?
A. WebElement
B. WebDriver
C. Alert
D. WebDriverWait



3. Which method is used to find an Object uniquely on any web Page?
A. getTitle()
B. findElements(By locator)
C. findElement(By locator)
D. searchElementById(String id)



4. Which method is Overloaded method Selenium WebDriver?
A. findElement
B. getText
C. frame
D. window



5. Which methods is not present in Navigation Interface?
A. goBack()
B. refresh()
C. forward()
D. to(URL url)



6. What arguments accept by until method of WebDriverWait and FluentWait classes?
A. ExpectedConditions
B. Function
C. Predicate
D. All the above



7. Which method is present in Action Interface?
A. moveToElement
B. click
C. perform
D. contextClick



8. Which method is used to retrieve the contents inside any HTML tags?
A. getValue
B. getText
C. getContent
D. getTagValue



9. Which method is used to retrieve any attribute value inside any HTML tags?
A. getAttribute
B. getText
C. getAttributeContent
D. getAttributeValue



10. Which method is used to work with multiple browser windows?
A. getWindowHandle
B. getWindowHandles
C. getMultipleWindows
D. Both A and B


9 comments:

  1. Hello Anish,
    The Article on MCQ on Selenium Testis nice. It give detail information about it .Thanks for Sharing the information on Selenium test.Software Testing Services

    ReplyDelete
  2. Great constructed MCQ. Please share HTML code for this MCQ

    ReplyDelete
  3. good help for clearing my exam.

    ReplyDelete
  4. Great. Would you mind. Please share html code

    ReplyDelete
  5. It is very informatiaon and helps a lot in written exams. I hope you make more articles like this. Thanks, Ravi Shankar Gurram

    ReplyDelete
  6. Hello can you create some mcq for TestNg..

    ReplyDelete
  7. Really good information to show through this blog. I really appreciate you for all the valuable information that you are providing us through your blog.

    Pen testing services
    Vulnerability assessment services
    Load Testing Services
    Mobile app testing services

    ReplyDelete
  8. A Multiple Choice Question (MCQ) test is an assessment method where respondents choose the correct answer from a list of options provided. Pitha O Kutxinga This format is commonly used in exams, quizzes, and surveys to efficiently evaluate knowledge or understanding on a wide range of topics.

    ReplyDelete