InterviewSolution
| 1. |
What Is Group Index In Xpath? |
|
Answer» Group index is nothing but writing the XPATH as sequence. For example, XPath provides numbers from 1, 2, 3... For element under every parent. When we use index we might GET end up having multiple elements when we wanted a particular element. In such cases the Group index will be more HELPFUL to the user. Now the Group index numbers the element from 1..., EVEN though element under different parent. The index numbers will never be repeated. Group index is nothing but writing the XPath as sequence. For example, XPath provides numbers from 1, 2, 3... For element under every parent. When we use index we might get end up having multiple elements when we wanted a particular element. In such cases the Group index will be more helpful to the user. Now the Group index numbers the element from 1..., even though element under different parent. The index numbers will never be repeated. |
|