Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Navigating history pages of IE
#1
Not Solved
Hi,

I need to list all the pages(URLs) from IE history, and depending upon datatable entry, i have to navigate to one of those URLs.

Eg. If I have following URLs in my IE history,

Code:
https://www.learnqtp.com/forums/newthread.php?fid=4
https://www.learnqtp.com/forums/QTPthread.php?fid=5
https://www.learnqtp.com/forums/Googlethread.php?fid=4

I would like my browser to navigate to one of these URLs, depending upon user entry.

Kindly help me in doing this.

Regards
Turtle Rock
Reply
#2
Not Solved
Turtle Rock ( nice name though Smile ) -
I was wondering, have you ever considered the option of using filesystem object to navigate to the path C:\Documents and Settings\Administrator\Local Settings\History which actually houses the historical IE data. Once you read the directory, loop through the urls and export them to either an File and then read from that file to compare against the url on your datatable.
Have i made sense?
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply
#3
Not Solved
Thanks basanth,

I tried to get a work around in following path.
C:\Documents and Settings\Administrator\Local Settings\History

But didnt find an index.dat file which is encrypted.

I tried with following folder :

c:\Documents and Settings\user\Local Settings\Temporary Internet Files

But it contains objects, and for every URL it is having number of objects ( image, txt etc). So if I write a code to retrieve all the URLs available in here, then I will end up with having a long list of URLs, in which so many redundancy will exist.



Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Delete Firefox history and Cookies Anupama 0 1,426 06-18-2018, 11:57 AM
Last Post: Anupama
  Pages and Frames adding _1, _2, _3... zunebuggy 1 1,660 05-30-2017, 12:17 AM
Last Post: Vichu M J
  I want to compare string present on two pages excellentpawan 3 3,465 07-23-2013, 02:33 PM
Last Post: ssvali
  Verify images get properly loaded or not(Broken Images) in respective pages nilanjans 4 4,056 01-17-2013, 10:51 AM
Last Post: nilanjans
  Capturing Multiple Pages tfritz13 1 2,294 12-20-2012, 10:35 AM
Last Post: sshukla12

Forum Jump:


Users browsing this thread: 1 Guest(s)