Posts

Showing posts with the label answer

Selenium Webdriver Interview Questions with Answer

1. Selenium doesn't support __________ to write programs (Test Scripts) a) Java b) Perl c) VBScript d) Python 2. __________ is an Advantage of Selenium WebDriver? a) Supports Web based Applications only b) No built-in Result Reporting facility c) Open Source d) No IDE 3. In webdriver, which methods navigates to a URL? a) goToUrl("url") b) navigate.to("url") c) getUrl("url") d) get("url") 4. Which of the following is the correct ‘Webdriver’ command to “delete all cookies in the browser”? a) Driver.deleteAllCookies() b) Driver.manage().deleteCookies() c) Driver.manage().deleteAllCookies() d) Driver.deleteCookies() 5. In webdriver, which of the following is a valid select statement that selects a value from a dropdown element? a) All of the listed options b) selectByIndex() c) selectByValue() d) selectByVisibleText() 6. In webdriver, selectAllOptions() is a valid command. a) True b) False 7. In webdriver, whic

Selenium IDE Interview Questions with Answer

1. Identify the invalid options about Selenium IDE a) It is a Firefox add-on and by using selenium IDE user can record and playback test cases in Firefox browser b) Tester can export the test cases from selenium IDE in Java Language only c) Tester can insert breakpoints in IDE d) Selenium IDE scripts can be executed on other browsers (IE, Chrome, Safari) 2. ________ doesn't support programming. a) Selenium IDE b) Selenium RC c) Selenium WebDriver d) Selenium Grid 3. ___________ is the built-in feature of Mozilla Firefox Browser to inspect elements? a) Firebug b) Firepath c) Page Inspector d) POM (Page Object Model) 4. Which of the following functionality is not supported by Selenium IDE? a) Database Testing b) Conditional statement c) All of the listed options d) Error Handling 5. Which selenium command check whether specific text exists somewhere on the page ? a) verifyTextPresent b) verifyTextPresent c) CheckTextPresent d) VerifyPresentText 6. Whic