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']

Author: Amod Mahajan

My name is Amod Mahajan and I am an IT employee with 6+ years of experience in Software testing and staying in Bengaluru. My area of interest is Automation testing. I started from basics and went through so many selenium tutorials. Thanks to Mukesh Otwani as his tutorials are easy and cover basics to advance. I have habit of exploring concepts by deep diving. I used to make notes. I thought of sharing my knowledge through posts and now I am here. #KeepLearning #ShareLearning

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.
%d bloggers like this: