Tuesday, December 16, 2008

Another way to get XPATH in Internet Explorer

Navigate to the page in Internet explorer. Save the page on your local machine with suitable name . IE will create a folder and a html file with the name you have given. Now open this html file in firefox. Now you can use xpath-checker or xpather to get the xpath of the element in this page.

3 Comments:

Anonymous said...

What's this got to do with I.E? Why don't you just open the page in firefox?

Mahesh said...

There are some applications which were made only for IE. Now in such applications there are some portions (pages) that cannot be reached unless you are using IE. Unfortunately there aren't many free inspection tools such as xpath-locator, xpather available for IE. Hence when working on such applications you can open up the relavant page using IE and then save the page to a local location. Now you can open this saved page using firefox and use inspection tools on it.
Hope this helps.

Shruti Ramalingam said...

Thanks for the great information in your blog Selenium Training in Chennai