Jump to content
Sign in to follow this  
frankh

AutoitX not working, Trend and possible alternatives?

Recommended Posts

So sorry,

I found this, it helps WebDriver, which Selenium uses, to drive Chromium. I hope you can speed things up with that. Also, do you think that changes in your network environment have caused this behavior?

http://www.automationtestinghub.com/selenium-chromedriver/

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites

The network environment cannot have anything to do with it. The delay is with SendKeys() and equivalent actions accessing a local form. Also, I've been trying all variants of the chromedriver, with no different results. Remember: This suddenly happende with code - both uncompiled and a built and compiled application - that had not been changed in any way. So the change is somewhere in Windows.

Edited by frankh

Share this post


Link to post
Share on other sites

yes, the change is in windows. if you are in a large, networked professional environment, it is not uncommon for group policy changes and other updates/changes to get installed or applied. Do you have a system restore point old enough to revert to to try? Would you even want to do that (rather heavy handed and IT probably won't like it)

PS, this is why I do all testing on static VMs that can be rolled back to a good snapshot. Sorry. But, you have now something you can go to your Network/IT guys with asking for help with?

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites

Just looked at Stack Overflow

https://stackoverflow.com/questions/25240002/automation-execution-is-too-slow-in-chrome-using-selenium-webdriver-36

Perhaps try using a 32 bit version of Chrome?

Quote

The answer can be the following if you use 64-bit OS architecture on your PC - as far as I remember is because Selenium performs switching between 32-bit and 64-bit mode (which is very slow operation). ChromeDriver was supported only in 32-bit. I had same issues with IE driver too.

Update:

Next thing to check then is that the proxy and network settings in chrome have not been altered. In the begging I considered extensions and add-ons, but Selenium raises clean instance each time. As to #36 being slow - check the dev threads on google chrome, you will see the issue has been ongoing for well over 6mths and is affecting cross-platforms too. And one solution is try disabling hardware acceleration.... it was a tenfold improvement for me on my laptop. To disable it... type "chrome:settings" in the address bar, click Advanced Settings, then uncheck "Use hardware acceleration when available" under the System header. Close all open Chrome browser instances and restart Chrome.

I hope you snapshotted the good VM, and when you roll back, note which version of chrome you are using.

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites

snip

i was wondering what version of Node you have installed as well. And as an alternative that still uses AutoIt, you could try IUIAutomation by @junkew
 
Using his simplespy.au3 get the data from that form and see if we can login not using slow selenium drivers. I can help you if you want to try.
 

 

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...