Solved

Vbscript Issue - Login to website

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
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…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now