Nothing much

  1. Select the correct syntax of xpath:
    a. //*[contains(@name, ‘user’)]
    b. //*[text()=’username’]
    c. //div > id/username
    d. //input[id=’gender’]
  2.  Select the efficient way to write the locator for:
    <div id=india_101_testing class= india testing 298387anbhdgdj/>
    a. id=india_101_testing
    b. cssSelector = div#india_101_testing
    c. cssSelector = div.india.testing298387anbhgdj
    d. cssSelector = div[id*=’india]
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.