SchlauFuchs Posted August 8, 2011 Share Posted August 8, 2011 Hi there, I have written a AutoIt script that handles Firefox saveas dialogs when we are running automated tests for our web application with a neat combination of Hudson/Maven/RobotFramework. On our new test machine which is running Win7/x64 the script seems to have a problem that wasn't a problem in WinXP before. As Hudson is running as a Slave Service we cannot really look into the things happening there, but on XP before that was working, So I just would like to know if there are some things to consider when writing scripts now. Cheers, Kai Link to comment Share on other sites More sharing options...
KaFu Posted August 8, 2011 Share Posted August 8, 2011 First thing that comes to my mind is that you might be running under a none privileged account and UAC interferes. Take a look at OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2022-Nov-26) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Feb-16) HMW - Hide my Windows (2018-Sep-16) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2023-Jun-03) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Tripredacus Posted August 8, 2011 Share Posted August 8, 2011 Are you running the service on the System account? Twitter | MSFN | VGCollect Link to comment Share on other sites More sharing options...
SchlauFuchs Posted August 8, 2011 Author Share Posted August 8, 2011 Are you running the service on the System account?No, the slave service runs as a local admin user. Link to comment Share on other sites More sharing options...
SchlauFuchs Posted August 8, 2011 Author Share Posted August 8, 2011 First thing that comes to my mind is that you might be running under a none privileged account and UAC interferes. Take a look at UAC is turned off and the user is admin. But the script is not requiring any admin rights as it is simply doing the firefox save as procedure. It works fine as the same user logged in, just not in headless Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now