The application of my office do not support Firefox.So
How can i validate the modified xpath is correct of not, which i have created based on various properties of the object .
In Firefox we can simply put modified xpath in to firepath box and check how many matching nodes are present , or object gets highlighted too , how can i do this in chrome or InternetExplorer .
I get some resolution for chrome mentioned below: Here is the steps to do so:
Open Developer Tools Select Console tab. Use $x token. For example, $x("/html/body") will select the body tag.
But the above is responding on for absolute Xpaths , i tried the same for one of my modified xpath which was correct xpath [checked in firepath] but when i checked that in chrome by the way mentioned above , i was not getting the proper results.
So once again my question is , do we have any proper way by which we can validate our own modified xpath in IE/chrome by highlighting element in application ?