![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I wrote a task to deploy onto one of our servers. When I click on the .exe file to run it. It pops up an error saying Bad Path/Filename in an alert box. If I click ok then the task runs just fine. The problem is that the task cannot be scheduled to run automatically because of this. Any ideas why I'm getting this error? The task doesn't make use of any variables and any file access in the script has the correct paths.
|
| |||
|
This file runs file on my local machine and it runs fine if I click on the error Box that pops up immediately when I execute the file. 1 If File Exists("C:\expedite_state\*.txt") Then 2 Open "************Censored for security purposes" 3 Type '****' in username in the webpage 'Louisiana Department of Revenue : Tax Preparer Online Registration' 4 Type '****' in userpwd in the webpage 'Louisiana Department of Revenue : Tax Preparer Online Registration' 5 Click on 'Accept Online Conduct Policy & Login' button in the webpage 'Louisiana Department of Revenue : Tax Preparer Online Registration' 6 Click on 'Browse...' button in the webpage 'Louisiana Department of Revenue : Tax Preparer Online Registration' 7 Delay: (3458 ms) 8 Keystrokes: [SHIFT DOWN]c[SHIFT UP][SHIFT DOWN];[SHIFT UP]\expedite[SHIFT DOWN]-[SHIFT UP]state\ram[DOWN ARROW][ENTER][ENTER] in "Choose file" 9 Log to File: Logged in/File Selected in "C:\log.txt" 10 Delay: (500 ms) 11 Click on 'Upload' button in the webpage 'Louisiana Department of Revenue : Tax Preparer Online Registration' 12 Log to File: Uploaded in "C:\log.txt" 13 Copy Files "C:\expedite_state\*.txt" to "C:\expedite_state\Backup\" 14 Delete Files "C:\expedite_state\*.txt" 15 Close Browser 16 Log to File: Upload to State Successful in "C:\log.txt" 17 End If 18 Stop The Current Task |
| |||
|
Hello cyesso, Do you know at what point the error pops up? Is it right away as soon as you run the exe or after performing some actions? If all the paths like C:\expedite_state, C:\expedite_state\Backup\ etc. are existing on the target machine, I don't see anything wrong with the task as such. |
| |||
|
Hello, It is possible that an exe called WPA.exe is running before you run the task. Before you run the task, please ensure from Task Manager that you kill the WPA.exe process and then try re-running the exe to see if that solves the problem. We would recommend you to call us at 1-888-484-3535 x 2. |
![]() |
| Thread Tools | |
| Display Modes | |
| |