torresmarcos / selenium-vba

Automatically exported from code.google.com/p/selenium-vba
1 stars 0 forks source link

VBA - Automation Error in IE browser #78

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Operating system : Windows 7
.Net Framework version : 4.5
Office Version : 2010
SeleniumWrapper version : 1.0.19.0

What is your issue ?
When I run vba code I am getting automation error on following code

driver.start IE, "https://www.google.co.in"

Error
"Run-Time error '-2146233079 (80131509)';

Automation error"

Please help me fix this issue. Thanks in Advance.

Regards,
Deepak

Original issue reported on code.google.com by vba.dee...@gmail.com on 25 Jul 2014 at 12:35

Attachments:

GoogleCodeExporter commented 8 years ago
Can you please provide a full example.
In your example, it's not possible to tell what the variable IE is.

Original comment by florentbr on 28 Jul 2014 at 11:41

GoogleCodeExporter commented 8 years ago
Hi,

I'm sorry, IE is not a variable, I missed to type double quote, the complete 
code is

sub sample()
  Dim driver As New SeleniumWrapper.WebDriver
  Dim By As New By, Assert As New Assert, Verify As New Verify
  driver.Start "IE", "https://support.mozilla.org/en-US/products/firefox"
  driver.setImplicitWait 5000
  driver.stop
End sub

Original comment by vba.dee...@gmail.com on 28 Jul 2014 at 6:29

GoogleCodeExporter commented 8 years ago

Original comment by florentbr on 8 Sep 2014 at 5:40