Help: Script runs from IDE, but fails running from batch file


#1

I have a small script (21 actions) that logs into a website, uploads a csv file, then downloads a result file… the script runs just fine when I click Play Macro in the IDE, it runs successfully to completion… I’ve exported to HTML (plus autorun)… When I call it from batch file ( “C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” “file:///D:/macros/dbdownload.html?direct=1” ) it gets to the 8th step (a click with a target of //input[starts-with(@id, ‘upload-duns’)] ) and it blows right past it without executing the click (the log claims it executed, but it clearly does not.)
I am baffled as to why it would work when I execute from the IDE, but not when called from the batch file… Any suggestions???


#2

Yes, strange. => Can you show us a screencast of the issue?