EMT Practice Test

1. Question Content...


Question List

Question1: Which one is not the WebDriver's expected condition?
Note: WebDriver's ExpectedConditions class is used to test expected conditions.

Question2: What is the advantage of the Page Object pattern?

Question3: The test language usually used in Selenium is ________________.

Question4: Selenium tests _____________.

Question5: What can be used to test Flex/Flash applications using Selenium?

Question6: WebDriver's Actions commands are <... complete the sentence ... >?

Question7: You are testing a web application that requires handling browser navigation, such as forward and backward navigation. How would you configure Gecko Driver to handle browser navigation?

Question8: What is the correct syntax to instantiate a Chrome/Chromium session?

Question9: What are the front-end WebDriver languages?

Question10: The ---------- has a plug-in system that allows easy extension and customization.

Question11: How does JUnit parameterize a class?

Question12: Which interface is used to create custom Event Listeners in Selenium WebDriver?

Question13: Which of the following dependencies is commonly used for Selenium in a Maven project?

Question14: Selenium Core TestRunner is used to:

Question15: You need to automate testing of a web application that requires handling browser windows and tabs in Internet Explorer. How would you configure Internet Explorer Driver to handle browser windows and tabs?

Question16: The term JSON refers to ______________.

Question17: Which of the following translates its Selenium commands into client drivers' API functions?

Question18: If 'NULL', audio will NOT be recorded.

Question19: When to use proxy injection mode?

Question20: Silverlight application testing is possible in the following type of Selenium?

Question21: You encounter a ElementNotSelectableException while trying to select an option from a dropdown. What could be the possible reasons for this error?

Question22: You are testing a form submission process using Data Driven Testing. How would you handle different sets of form data?

Question23: The two ways of discovering the XPath of an element are?

Question24: What are the WebDriver methods to manage web-based alerts?

Question25: When new element are added after page loaded_________________command is used to confirm that test will pass in the future.

Question26: A ------ is a mechanism that stores all the locators for a test suite in one place for easy modification.

Question27: How does the SafariDriver is implemented?

Question28: How can you run tests on a specific node in Selenium Grid?

Question29: What are the three major components of Selenium IDE?

Question30: The client libraries of Selenium RC instruct Selenium Server on:

Question31: What is the project configuration file if setting up a Selenium-WebDriver project in Maven?

Question32: The command that is being used to extend the time limit of WAITFOR command is

Question33: Which of the following parameters is not required to initialize Fluent wait?

Question34: TestNG will execute the tests in:

Question35: Selenium automates:

Question36: Which instance defines the maximum amount of time to wait for a condition to take place?

Question37: Which of the following web element does, submit function is applicable, in Selenium Webdriver?

Question38: What is the main language that drives Selenium IDE?

Question39: The ------------ is pure DHTML/JavaScript.

Question40: You need to automate testing of a web application that requires handling browser windows and tabs in Opera.
How would you configure Opera Driver to handle browser windows and tabs?

Question41: Is Selenium WebDriver thread-safe?

Question42: How do you edit the recorded command in IDE?

Question43: Which log type listed in log pane of Selenium IDE, shows which command Selenium IDE is currently executing?

Question44: storeFooPresent(variable) does:

Question45: The attribute which can be used only at the class level is:

Question46: In Web Driver Selenium, which variation is used to locate the elements by the value of their "id" attribute?

Question47: How are the plug-ins can be added to the Selenium ?

Question48: Which of the following is not a benefit of TestNG against Junit?

Question49: The term AJAX expands to ______________.

Question50: Which of the following is used to enters values onto text box, in a page

Question51: Justify your answer: Selenium will record any operation that you do on your computer apart from the events on the Firefox browser window.

Question52: Which of the following languages is supported by The Selenium Web Driver?

Question53: You need to test the performance of a mobile web application under different network conditions (e.g., 3G, 4G (WiFi). How would you simulate these network conditions using Selenium WebDriver?

Question54: Which of the following exceptions is not an ideal candidate to ignore via FluentWait?

Question55: Which of the following are the major changes that Selenium 3.0 brought in?

Question56: Which method will close all windows opened by the WebDriver?

Question57: If the default port of Selenium is busy, then which port should you use?

Question58: Which of the following components is not the part of Selenium suite?

Question59: The three flavors of Selenium Commands are:

Question60: While executing a test case, you encounter a NoSuchElementException. How would you handle this exception?

Question61: What are the different navigation methods of WebDriver?

Question62: How can you set the path to the iOS driver executable in your Selenium WebDriver script using iOSDriver?

Question63: Name the Selenium API method that is used to execute JavaScript from Selenium RC?

Question64: Which of the following features does Selenium IDE support?

Question65: How can you pass parameters to a test method in Cucumber?