GTheAutomator Posted January 15, 2021 Share Posted January 15, 2021 I know everyone may find it strange that i'm trying to do this in a server but... So, i've been working on this site that would login to a site and download a couple of files from it. Even though people usually use it on chrome i tried it on IE and it worked fine, so I used the _IE and all ok i tested it on a couple of W10 machines and all was working fine. But then someone gave me a WServer machine and on it some strange behavior happens. On the site login page it identifies and selects the username input field and starts inputting the username normally, but next instead of finding and selecting a couple of fields next it seems to jump those and just executing the send commands that come next to fill those fields before it comes back and selects them comes doing the selecting/clicking normally. the only explanation for this would be some kind of threading configuration on the machine (or native to windows server) that messes with the flow of the script running these 'findelement' and 'action' commands on separate threads instead of their right order on the script. Can someone say something about their experiences or about autoit compatibility with WServer(2012)? Link to comment Share on other sites More sharing options...
Nine Posted January 15, 2021 Share Posted January 15, 2021 AutoIt is single thread. Don't waste your time searching explanation in that direction. I do not see how a window server would suddenly starts shearing a process in multiple threads just for the fun of it. I would rather assume it is a question of credentials/securities reasons. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
GTheAutomator Posted January 15, 2021 Author Share Posted January 15, 2021 @Nine thanks for this clarification, I just thought of it cause it really seemed strange the way it's working. Like it jumps all this field selections/interactions, put a bunch of send commands (up in the order) but then is executing the interactions after those seems really strange and seemed like some kind of threading going on. But knowing that AutoIT is single threaded also make it even stranger it's "malfunctioning" this way. I'm seeing if it's possible to change and work in a more standard configured/consumer style system as a W10 VM instead of the server one. But I'll look into this permissions/security possibilities. 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