Selenium Practice Test – 4 Posted by Editor Date 2022-09-24 Comments 0 comment Welcome to your Selenium Practice Test - 4 Method which selects the option which displays the text matching the parameter passed to it A) selectVisibleText() B) selectByVisibleText() C) select_VisibleText() D) select_ByVisibleText() Which of the following is false in case of waitFor command? A) waitForAlertPresent B) waitForTextPresent C) waitForFramePresent D) waitForPageToLoad What does the assertTitle checks? A) Element title B) Page title C) Block title D) Title of an element under focus Select the command which is NOT used in verifying page elements. A) verifyElementPresent B) verifyElementRight C) verifyElementNotPresent D) verifyElementPositionLeft If you wanted to access the element that has the text “This element has an ID that changes every time the page is loaded” in it, then which of the following is used: A) //div[contains(@id,’time_’)] B) //div[contains(@id_time())] C) //div[parameter(@id_time())] D) //div[parameter(@id,’time_’)] SelectAllOptions() is a valid command In webdriver - 1. True 2. False Select the method which clears all selected entries in Web driver Selenium. A) dselectAll() B) deselect_All() C) dselect_All() D) deselectAll() .To delete a cookie we need to call the deleteCookie method, passing in two parameters. A) The first parameter is the name of the cookie, and the second parameter is where it was created. B) The first parameter is where it was created, and the second parameter is the name of a cookie. C) None of these Select the command which is used to pause execution until the page is loaded completely. A) waitForPageToLoad B) waitForElementPresent C) waitForPage D) waitForLoad Which of the following method is used to work with multiple browser windows? A) getMultipleWindows() B) getWindowHandles() C) getWindowhandle() D) Both B &C Time is Up! Time's up Share: Editor Previous post Selenium Practice Test - 3 2022-09-24 Next post Selenium Practice Test - 5 2022-09-24 You may also like Oracle Tutorial Videos 8 April, 2023 Spring Tutorial Videos 8 April, 2023 Ui Technologies Tutorial Videos 1 April, 2023