frankh Posted March 14, 2018 Share Posted March 14, 2018 Ok, this is very weird... I'm using the AutoIt libraries for VS/C# and Java. I've not installed AutoIt as an application, since it's not necessary. It's been working for months now in both Java/Eclipse and VS/C#, but today - after a reboot of the computer, it no longer works. I'm using it to access a login prompt on a web page (which cannot be used with normal http auth), so all AutoIt is doing is activating the login prompt, entering username and password, and hitting Enter. Now, nothing happens. Nothing at all. The login prompt opens, and AutoIt doesn't do anything at all. No errors in the code (C# nor Java), it just stands there until it finally times out. The error message in VS is of no help, since this is not a C#/Code issue, but AutoIt that simply doesn't do anything: The HTTP request to the remove WebDriver server for URL blblabla timed out after 60 seconds ---> System.Net.WebException: The operation has timed out. Can someone please help? I'm dependent on this, and this is one of the most silly and strange problems I've ever seen. There's no hint of any kind, and hence no indication on where to start debugging. It seems that Windows 10 just simply refuses to run the AutoIt library. Link to comment Share on other sites More sharing options...
frankh Posted March 14, 2018 Author Share Posted March 14, 2018 (Cannot find a way to edit my post...) Elaboration: I'm mainly using the AutoIt library in C#/Java code that uses Selenium. Although that doesn't have anything to do with the problem, since I've also got a stand-alone winforms application that uses it, and the problem is exactly the same there: Just yesterday, everything works. Today, after a rebott, AutoIt doesn't do anything. Link to comment Share on other sites More sharing options...
Danp2 Posted March 14, 2018 Share Posted March 14, 2018 Performed any system updates recently? Or perhaps your AV software is interfering. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
frankh Posted March 15, 2018 Author Share Posted March 15, 2018 Hm. There's been a Windows update, I think. But in what way could that have broken things? And how can the AV software interfere? I'm in a coorporate network, so I have no way to disable the AV software (which I shouldn't be). Link to comment Share on other sites More sharing options...
frankh Posted March 15, 2018 Author Share Posted March 15, 2018 This is really bad, and stupid. How can this happen? Several restarts of the machine, checking of the AV software (nothing found), and AutoIt still refuses to work. It just doesn't do anything, and there are no errors! Link to comment Share on other sites More sharing options...
frankh Posted March 15, 2018 Author Share Posted March 15, 2018 How can I edit a post here? Isn't it possible? Anyway: To troubleshoot some more, I downloaded the AutoIt application and tried running some of the example scripts. The calculator example script opens the calculator, but does absolutely nothing more. Mind you, this is exactly what happened a couple of days ago when I first installed the AutoIt libraries for Java and tried an example there. And that was while it was still working when used to enter user/pass in a web login prompt. I'll have to start looking for alternatives soon, because this seems incredibly unstable. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 15, 2018 Moderators Share Posted March 15, 2018 frankh, You need a certain number of posts to get post editing permissions. Quote I'm using the AutoIt libraries for VS/C# and Java I take it you mean AutoItX? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
frankh Posted March 15, 2018 Author Share Posted March 15, 2018 Yup. Sorry for being unclear. I'm using the following libraries/assemblies in C#: AutoItX3.dll AutoItX3Assembly.dll In Java I'm using AutoItX4Java.jar Link to comment Share on other sites More sharing options...
frankh Posted March 15, 2018 Author Share Posted March 15, 2018 Update: I opened up the VS solution for the Winforms application using Selenium and AutoIt. And now it actually shows an error when trying to build it: Unable to copy "D:\Source\Repos\Tools\ChromeMullog\WindowsOperations\bin\Debug\WindowsOperations.dll" to "bin\Debug\WindowsOperations.dll". The process cannot access the file "bin\Debug\WindowsOperations.dll" because it is being used by another process. Since this is inside the project, and there is no reason why any other process should use this file, I'm thinking maybe the AV software (Trend) is messing up after all? It's impossible to find out, though, since I'm unable to disable it, and the logs are not available in any meaningful way. Link to comment Share on other sites More sharing options...
frankh Posted March 15, 2018 Author Share Posted March 15, 2018 Update 2: I was able to uninstall Trend Micro AV, and restarted the computer afterwards. And Autoit is STILL not working. So, one cause eliminated. Then this gets even worse; It seemingly stops working without a specific reason or cause. 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