exe files not working properly
Hello,
This issue has us quite stumped, I'll try to explain as best I can. I've attached a part of the code for reference (lines 5-21 aren't present because they are commented out). Also, both PCs are running the same version of WinXP SP3 and IE.
A coworker created a task that reads in information from a spreadsheet and populates/alters attributes on a web form based on the spreadhseet values. She saved the task after verifying it worked on her machine and created an exe. This task runs fine on the machine that it was created on. The exe runs fine on the machine that it was created on.
Now, when the exe is distributed to other machines, it fails. When run it will successfully open the excel spreadsheet, but once it reaches line 28, the first window control, it does not find the link and exits with the message "Unable to find 'TextBox'". This has puzzled us as it is not even supposed to be searching for a textbox, but a link to click.
THIS is what has me completely lost. I've downloaded a trial version of AA on my machine and opened the AA script that my coworker created. Running the task from AA Trial version fails at line 28 just like before. BUT, if I recapture line 28 on my machine, save it, and run the task, it will fail at the next window control, which is at line 38. If I recapture 38, the task will execute until 39. If I recapture 39, the task executes until line 40 and so on until it reaches the next window control that hasn't been recaptured.
If I create an exe after recapturing the aforementioned lines, the exe will execute until it reaches the last window control not recaptured.
The script lines remain unchanged after recapturing, so there is really no way to tell what lines have been recaptured without actually running the script. We aren't using screen or window or anything that would depend on the resolution/placement so I don't understand why the task can't find the specified controls.
I'm really at a loss, any help is very much appreciated, thanks.
|