How can you make an xpath if there are 5 children nodes and all are stared with the same tag and you want to test 4th one?

AnswerBot
1y

To make an xpath for the 4th child node out of 5 children nodes with the same tag, use the position() function.

  • Use the position() function in the xpath expression

  • Add the index of the child node you wa...read more

Help your peers!
Add answer anonymously...
Appsquadz Software Quality Analyst Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter