Which of the following is the correct syntax for XPath?

43. Which of the following is the correct syntax for XPath?

  1. Xpath=//tagname[@Attribute='value']
  2. Xpath=//value[@Attribute='tagname']
  3. Xpath=//Attribute[@tagname='value']
  4. Xpath=//value[@tagname='attribute']

Answer: A) Xpath=//tagname[@Attribute='value']

Explanation:

Syntax for XPath is: Xpath=//tagname[@Attribute='value']

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.