Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to invoke browser without using OR
#1
Solved: 8 Years, 9 Months, 2 Weeks ago
Hi,
I wanted to know if we can simply open a browser without first recording it, I wrote

Code:
Browser("IE").Page("Google").WebButton("Google Search").Click



Also, I tried below code,

Code:
SystemUtil.Run "iexplore", "www.google.com"

With Browser("Internet Explorer").Page("Google")
  .WebButton("Google Search").Click
End With

Or, Simply

Code:
Browser("Internet Explorer").OpenNewTab

In all above cases I get error that "Internet Explorer" object not found in repository & find a correct name of object"

So, what to write in place of "Internet Explorer" in all three above cases. Attached is screenshot of result.

Thanks for help!!


Attached Files Image(s)
   
Reply


Messages In This Thread
How to invoke browser without using OR - by alpha1 - 07-20-2015, 04:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify t Divya Roopa 1 8,296 03-11-2014, 12:13 PM
Last Post: devarapallliramana
  Functions invoke of others test Juan Carlos 3 3,278 09-20-2010, 07:11 PM
Last Post: lotos
  Can you invoke QTP bfakruddin 0 1,781 02-04-2009, 03:41 PM
Last Post: bfakruddin
  VBS to launch QTP 9.2 and invoke script automatically test123 2 11,793 05-08-2008, 09:17 PM
Last Post: Sri
  Invoke QTP from other machine on the network manzoor_mustafa 0 2,120 04-10-2008, 04:57 PM
Last Post: manzoor_mustafa

Forum Jump:


Users browsing this thread: 1 Guest(s)