vbscript problem

Discussion in 'Programming' started by ssimon171078, Nov 20, 2014.

  1. #1
    i need to log in in website mycheapjobs i starte to write code,how to click on sign in? mycode is:
    Set IE = CreateObject("InternetExplorer.Application")
    set WshShell = WScript.CreateObject("WScript.Shell") 
    IE.Navigate "http://mycheapjobs.com/login"
    IE.Visible = True
    Wscript.Sleep 6000
    IE.Document.All.Item("l_username").Value = "user123"
    IE.Document.All.Item("l_password").Value = "pass"
    WshShell.AppActivate "IE"
    WshShell.SendKeys "{ENTER}"
    Code (markup):
    html code:
    <div class="row"><input type="submit" value="Sign In" class="button" style="padding-left:10px;padding-right:10px;padding-top:5px;padding-bottom:5px;" /><input type="hidden" name="jlog" id="jlog" value="1" /><div class="remember">
    Code (markup):

     
    Last edited by a moderator: Nov 20, 2014
    ssimon171078, Nov 20, 2014 IP