No magic here:
ie = Watir::IE.start(http://internal.web.project;)
ie.text_field(:name, txtUserName).set(myname)
ie.text_field(:name, txtPassword).set(mypass)
ie.button(:value, Anmelden).click
ie.goto(http://internal.web.project/subpage;)
ie.text_field(:name, txtKurzname).set(xyz)
Found the solution :)
IE is my standard browser, but I use Avant instead. When Avant is running
(which it usually is), watir uses that instance. Unfortunately usage of Avant
causes the exception. I closed it, startet IE 6, ran the example and it worked.
Is there a way to tell watir to use a
Markus wrote:
Found the solution :)
IE is my standard browser, but I use Avant instead. When Avant is running
(which it usually is), watir uses that instance. Unfortunately usage of Avant
causes the exception. I closed it, startet IE 6, ran the example and it
worked.
Is there a way to
Post the code you are using that causes this, that might help :)
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5137messageID=14254#14254
___
Wtr-general mailing
Hi,
this has been discussed but the solutions don't work for me.
The story:
I want to test an application that uses JS-Alerts to communicate errors. I
found a code snippet that should solve this, but instead I get always this
exception:
WIN32OLERuntimeError: hwnd
OLE error code:80004005 in