SELENIUM ASSESSMENT Welcome to your SELENIUM ASSESSMENT Name Email Phone Number 1. Which will suit best when dealing with Asynchronous Page? Explicit Wait Implicit Wai Sleep Fluent Wait None 2. To stop all UI elements Explicit Wait Implicit Wait Sleep Fluent Wait None 3. To delete all cookies in a page Driver.manage.deletecookies() Driver.manage.deleteAllCookies() Driver.deleteCookies() Driver.deleteAllCookies() None 4. Which command will be used to clear the content in the text box Driver.findElement(By.name(“q”)).clear(); Driver.findElement(By.name(“q”)).clean(); Driver.findElements(By.name(“q”)).clear(); Driver.LocateElement(By.name(“q”)).clear(); None 5. Which Selenium API executes selenium 1.0 tests in webdriver Selenium RC Selenium Grid Webdriver SeleniumBackedWebdriver None 6. Which method is used when selenium first check fails and it stopped to move to next check Verify() Assert() None 7. Selenium RC is not applicable for Ajax calls Navigations and alerts ErroDropdowns All of the above None 8. Which one will be used to run tests in multiple machines Selenium RC Selenium Grid Web driver All of the above None 9. which annotation will be used to parameterizing for login and password text boxes in testing @test @parameter @data @dataprovider None 10. Selenium IDE is not applicable for Database testing Conditional Statement Error handling All of the above None 11. What are the Automation Frameworks Selenium will support? JUNIT NUNIT TestNG All of the Above None 12. How to switch to window driver.swtchTo().window(string); driver.swtchTo().window(Int); driver.swtchTo().window(array); driver.swtchTo().window(arrayList); None 13. Common for TestNG and Junit Suite Test Group Test Object Parameterisation Dependency test None 14. How to select a value from dropdown selectByValue() selectByIndex() selectByVisibleText() All of the above None 15. Which of the following is incorrect url for Selenium grid console https://seleniumorg.in/portno https://seleniumorg.in/portno/grid https://seleniumorg.in/portno/grid/console https://seleniumorg.in/portno/console/grid None 16. For complete page load Wait for element present Wait for page to load Wait for window load Wait for page all load None 17. Excel workbook answer Read specific cell from excel Read all cell from excel Read and write specific cell from excel Reads and writes all cells from excel All the above None 18. Firefox drivers/browsers support which OS Windows Windows and MAC Windows, MAC, Linux Windows and Linus None 19. Which command is used to toggle a checkbox .select() .click() .toggle() .set() None 20. What is required to run a selenium script in Firefox? Firefox browser Firefox browser and firefox driver Firefox driver like IE driver and Chrome driver Firebox browser & Gecko Driver None Time's up