Similar Posts

16 Comments

  1. In 5th) Using AND:

    @attribute_name2=’attribute_value2] ===> @attribute_name2=’attribute_value2′]

    Ending single quote (‘) is missing.

  2. thanks a lot .

    Will it will be helpful for finding xpath for any dynamic text or link with the help of following and preceding xpath which are not dynamic in nature ?

  3. Dear Team,
    I am currently learning Software Testing concepts from your website softwaretestingmaterial.com, and I greatly appreciate the valuable content you provide. While going through the XPath chapter, I noticed a small typo in the relative XPath syntax. It is mentioned as //input@id=’email’], but I believe the correct syntax should be //input[@id=’email’]. Kindly review and update this part to avoid any confusion for learners. Thank you for your efforts in sharing such helpful resources.

Leave a Reply

Your email address will not be published. Required fields are marked *