This code will not run in QTP if u need to run QTP externally then it will work. Regards Naveen
On Mon, Aug 24, 2009 at 2:52 PM, kapil sachdeva <[email protected]>wrote: > Hi Abha, > > Roman gave a very good solution, we can use the following code to open any > browser, whatever is installed on that system. > > dim myshell > set myshell= CreateObject("WScript.shell") > myshell.run "about:blank" > set myshell= Nothing > > > check if this code works.. > > thanks > kapil > > On Mon, Aug 24, 2009 at 1:05 PM, Bibek Khatiwara > <[email protected]>wrote: > >> Ya naveen it's working fine too.. >> >> 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/ >>>> >>>> >> >> >> -- >> 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 -~----------~----~----~----~------~----~------~--~---
