Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with invoking url in internet explorer
#1
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi,
I am facing a strange problem
When i am using

SystemUtil.Run iexplore,"http://abc.com"
its not opening the url that i specified, its going to different location.
when i am using
SystemUtil.Run "http://abc.com"
Its opening in firefox, as i have both iexplorer and firefox.
i want to open the particular url in internet explorer, the above statement is opening c:// program files
Any help will be really appreciated.
Regards;
Vijay
Reply
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
Either make IE as you default browser and directly execute
Code:
SystemUtil.Run "www.learnqtp.com"

or Specify the complete path of IE, like -
Code:
SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe","www.learnqtp.com"

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ‘General Run Error’ when trying to fetch URL in Browser Address Bar with DP sukhvinderh 5 5,824 10-14-2011, 07:29 PM
Last Post: v.swaminathan
  Getting URL from Internet Explorer BVVPrasad 1 4,704 07-25-2011, 08:24 AM
Last Post: rajpes
  How to RunAs different users with Internet Explorer Debby Browne 1 14,999 03-30-2011, 09:05 AM
Last Post: JyotiRanjan
  Internet Explorer has stopped working kotaramamohana 8 11,931 03-07-2011, 02:22 PM
Last Post: krupaluk
  how to capture the current page URL sidartha 9 7,836 01-26-2011, 11:04 PM
Last Post: Brian.Osborne

Forum Jump:


Users browsing this thread: 1 Guest(s)