Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is difference between / & //



What is difference between / & //..

Answer / lakshmi

/
1.It starts selection from the document node
2. It Allows you to create 'absolute' path expressions
3. e.g “/html/body/p” matches all the paragraph elements
//
1. It starts selection matching anywhere in the document
2. It Allows you to create 'relative' path expressions
3. e.g“//p” matches all the paragraph elements

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Selenium Interview Questions

Does the selenium have any limitations?

0 Answers  


How could ajax controls be handled in webdriver?

0 Answers  


I am not able to use "style" attribute to locate element with ie browser?

0 Answers  


Can we edit recorded selenium ide test cases?

0 Answers  


How can the user get a text from a web element?

0 Answers  


Is webelement an interface or a class?

0 Answers  


Define selenium 2.x?

0 Answers  


How can we select elements by their attribute value using css selector?

0 Answers  


What kinds of tests can be run with the selenium framework?

0 Answers  


what is your approach clicking all the links which are available on the page?

0 Answers  


What is junit annotations and what are different types of annotations which are useful?

0 Answers  


Different types of synchronization

1 Answers  


Categories