Solved

Vbscript Issue - Login to website

Posted on 2009-04-08
3
2,610 Views
Last Modified: 2013-11-25
Objective is to launch url (site EE) in IE and login...using the script below...it works fine, except the last line does not perform the click to login..
objIE.Document.all.msuLoginSubmit.Click

What am I doing wrong...Also what should be the last line, same script (to click Continue) for this site....
https://www.netflix.com/Login
strEmail = "username"
strPass = "password"
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Visible = True
objIE.Navigate "http://www.experts-exchange.com/"
While objIE.Busy = True
	WScript.Sleep 100
Wend
While objIE.ReadyState <> 4
	WScript.Sleep 100
Wend
objIE.Document.all.msuLoginName.value = strEmail
objIE.Document.all.msuPassword.value = strPass
objIE.Document.all.msuLoginSubmit.Click

Open in new window

0
Comment
Question by:BigBadWolf_000
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
ruscomp earned 500 total points
ID: 24100874
Why not try submitting the form, instead of clicking the button? They should trigger the same action. The click method for buttons is very poorly supported in browsers.
0
 
LVL 7

Expert Comment

by:ruscomp
ID: 24100908
0
 
LVL 14

Author Closing Comment

by:BigBadWolf_000
ID: 31568273
Thank You.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about a problem I had getting the GPS LocationListener working.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question