This should be a really simple question. I have a simple script that opens internet explorer and goes to a website.
The script puts in a username and password automatically and then clicks submit
The problem im having is that before it clicks submit, I have a option to click 1 of 2 radio buttons. a "In" and a "Out" The script works great but unfortunetly the website doesnt work unless I click one of the radio buttons BEFORE hitting submit (action)
Heres what I do know. The Name of the Radio buttons are both "ClockInOut" One buttons value is "In" one button is "Out"
Heres the current script I'm using
Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.Document.All.Item("LoginID").Value = "loginname"
IE.Document.All.Item("password").Value = "password"
'The line below is the one in question that does not work and where the script error out at.