Solved

Vbscript Issue - Login to website

Posted on 2009-04-08
3
2,615 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Make the most of your online learning experience.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Six Sigma Control Plans

717 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