Make Selenium Easy

Learn Selenium With Quiz – Basic Level 6 – XPath

As a part of a Series of posts on Learn Selenium With Quiz, This set contains questions from XPath concepts in Selenium WebDriver. I will suggest you to go through below link before taking up quiz:

XPath Basics 1

XPath Basic 2

Advanced XPath

Now take up below quiz:-

Welcome to your Learn Selenium With Quiz – Basic Level 6

1. XPath stands for:-
2. Mostly browser supports:-
3. What is difference between '/' and '//' in XPath?
4. Which statement defines below XPath correctly:-


//*
5. Which statement defines below XPath correctly:-


//ul/li
6. Which statement defines below XPath correctly:-


//ul//li
7. Which statement defines below XPath correctly:-
//input[@id='search_query_top']
8. Which statement defines below XPath correctly:-
//input[@id]
9. Which statement defines below XPath correctly:-
//*[@id]
10. What '@' character represents in below XPath:-
//input[@id='someID']

Table of Contents

Author: Amod Mahajan

A software Tester who is paid to judge products developed by others. Currently getting paid in American Dollars. Writing technical posts and creating YouTube videos are my hobbies.

Leave a Reply

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.