Selenium Practice Test – 5 Posted by Editor Date 2022-09-24 Comments 0 comment Welcome to your Selenium Practice Test - 5 Select the Get command which fetches the inner text of the element that you specify in Web driver Selenium. getinnerText() B) get_in_Text() C) get_inner_Text() D) getText() . Select the syntax to locate an element using inner text. A) css=tag:contains(“inner text”) B) css=tag:value(“inner text”) C) css=tag:attributes(“inner text”) D) css=tag:class(“inner text”) Select the variation which locates elements by the value of their “id” attribute in Web Driver Selenium A) By.id B) By.idno C) By.id_no D) By.tag_id Which of the following expression is used for "anything"? A) ** B) .* C) *. D) *+ Select the command which is used to compare the actual page title with an expected value. A) verifyTitle B) verifiedTitle C) mverifyTitles D) verifiedTitles Select the command which retrieves the alert message and stores it in a variable that you will specify. A) storeAlert B) storedAlert C) store_Alert D) storesAlert Select the variation which locates elements by the value of the “name” attribute in Web driver Selenium A) By.name B) By.nametag C) By.tagname D) By.nametags Which one is a class in Selenium ? A) WebDriverWait B) WebElement C) WebDriver D) getPageSource . Select the tab that shows which command Selenium IDE is currently executing. A) Variable B) Data C) Information D) Info What is the best call for finding multiple elements using XPath? A) findElementByXpath B) findElementsByXPath C) findElementByCssSelector D) Both B & C Time is Up! Time's up Share: Editor Previous post Selenium Practice Test - 4 2022-09-24 Next post Selenium Practice Test - 6 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