Forum Discussion

rahul84gupta's avatar
rahul84gupta
Occasional Contributor
11 years ago

Not able to click on link while searching anchor tag using findchildbyxpath method in browser IE8



Hi,



I am not able to click on link in IE 8  while searching anchor tag using findchildbyxpath method.



pageOBJ.FindChildByXPath("//A[@href='/test/Login/Logout']").Click()



The method is working fine in IE9 browser.



Please suggest.

2 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi,


     


    Just a guess - perhaps, your page interprets different browsers in a different way. Thus, this link is not on the page opened in IE 8. Can you check the HTML source of the page? Do you see the link there?


     


    BTW, please check whether IE's Developer Tools can execute this XPath.