cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get a web element from Chrome browser using VBScript?I

Highlighted
Contributor

How do I get a web element from Chrome browser using VBScript?I

Using VBScript on Google Chrome browser, I am trying to search a product name

 

ex: 

Dim Chrome, oVal

Set Chrome = CreateObject("GoogleChrome.Application")
Chrome.Visible = True

Chrome.Navigate "http://smartbear.com/"

Set oVal = Chrome.Document.GetElementsByName("PhraseToSearch").Value = "ProductA"

 

I am getting runtime error.

ActiveX component can't create object: 'GoogleChrome.Application'

2 REPLIES 2
Highlighted
Community Hero

Re: How do I get a web element from Chrome browser using VBScript?I

Highlighted
Contributor

Re: How do I get a web element from Chrome browser using VBScript?I

Thanks for the info.

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!

Retrieve Data from a Web Page

Participate!
Top Kudoed Authors