Showing posts with label Visible property. Show all posts
Showing posts with label Visible property. Show all posts

Wednesday, 30 April 2014

QTP - UFT - How to open a browser with google.com as url using VBSript

This question is some time confusing for on going interview guys.

How to open a browser with google.com as url using VBSript or How to open a browser with google.com using UFT or QTP.

Answer is simple


Syntax
Set o1= Createobject("InternetExplorer.Application")
o1.Visible = true
o1.Navigate "www.google.com"
Set o1 = nothing


Regards,
Sreenu Babu