Solved

Vbscript Issue - Login to website

Posted on 2009-04-08
3
2,609 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

This is an explanation of a simple data model to help parse a JSON feed
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

786 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