Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP basics- invoke browseer and navigate the website address
#6
Solved: 12 Years, 10 Months, 3 Weeks ago
vaigundamoorthy Wrote:[quote=sreekanth chilam]
Hi srikanth,
when i was trying to method 1 it isworking fine.
Method 1 :
Systemutil.Run "www.google.com"
but when i tried to method 2 system throw error.
Method 2 :
Dim br
Set br=CreateObject("InternerExplorer.Application")
br.Navigate "www.google.com"
Set br=Nothing
I have attached the screenshot.
It would be great if you resolve that one

===========================================
Moorthy,
Use this function and it can work.

Code:
Public Sub gen_Open_Browser(sURL)
  Set IE = CreateObject("InternetExplorer.Application")
  IE.Visible = True
  IE.Navigate sURL
  IE.TheaterMode = True
End Sub
Reply


Messages In This Thread
RE: QTP basics- invoke browseer and navigate the website address - by MVChowdary - 12-15-2008, 11:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP 11 and IE9 64bit on Win7&SP1 64bit, QTP does not recognize objects in website jpalos 4 9,288 08-27-2014, 10:11 AM
Last Post: vinod123
  How to invoke the recording of QTP using AOM(automation object model) of QTP shailesh.gcettb@gmail.com 2 4,666 05-08-2014, 10:30 AM
Last Post: Shriram
  How do I save name and email address in QTP ? Shiv Y 1 2,822 12-19-2013, 07:24 AM
Last Post: basanth27
  Get value from table out of a website Flooole 9 6,499 10-10-2013, 02:07 PM
Last Post: Flooole
  Navigate & Learn Objects Shama Ahsan 0 2,454 12-05-2012, 11:51 AM
Last Post: Shama Ahsan

Forum Jump:


Users browsing this thread: 1 Guest(s)