>I must be using the wrong code then. The forms(1) works only if I am already logged on in another window to UT. If I try to pass the form name instead, I receive a datatype mismatch error. Do you have example code that could be used?
>
>>If you wish to automate operations on the main page, you should always refer to the form name and not to the form ID as per the IE browser sequence. We usually do not change the form name. So, that will work no matter the code of the HTML page.
This works for me
WITH .DOCUMENT.FORMS("login2")
--sb--