Hi Kalyan,

*The following line will open firefox:
SystemUtil.Run "firefox.exe","about:blank"*

Replace "firefox.exe" with the executable of the browser you want to launch.

Regards
Ganadhar
+91 98842 68663


On Sun, Aug 23, 2009 at 2:19 AM, kalyan kallamadi <[email protected]
> wrote:

> Hi
> the problem is it opens an IE ,but need to open other than IE,like
> mozilla,firefox,safari,so open other browsers whats the code.
> the below code opens only IE.
>
>
> On Sat, Aug 22, 2009 at 9:36 PM, naveen naveen11 <
> [email protected]> wrote:
>
>> Hi Bibek,
>>
>> Sending u code just check whether it works:
>>
>> Dim objIE
>> Set objIE = CreateObject("InternetExplorer.Application")
>> objIE.visible = True
>> objIE.navigate "http://www.yahoo.com";
>> objIE.statusbar = 1
>> This is a COM object.
>>
>> Please reply if it works for u.
>>
>> Regards
>> Naveen
>>
>>
>>
>>
>>
>> On 8/22/09, Bibek Khatiwara <[email protected]> wrote:
>>>
>>> Hi Abha!
>>>
>>> *SystemUtil.Run "iexplore.exe","about:blank"*
>>>
>>> that's it :)
>>>
>>> Regards
>>> Khateee
>>>
>>>
>>> On Thu, Aug 20, 2009 at 10:52 AM, abha tiwari <[email protected]>wrote:
>>>
>>>> Hi All,
>>>>
>>>> Can you give me a code in descriptive programming that can be used to
>>>> open any browser (eg mozilla, IE) a common piece of code that can launch 
>>>> any
>>>> browser installed on you system?
>>>>
>>>> --
>>>> Abha Tiwari
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Bibek
>>>
>>> Hey! Catch me on:
>>> http://khateee.blogspot.com/
>>>
>>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to