Countleonardo Posted May 23, 2017 Share Posted May 23, 2017 I'm having an issue with AutoIt, it is not writing the entire String. For example I have a string "HappyUser@company.com" . It would write "Happ" then skips and writes "yUser@company.com" in the next field. AutoIt sometimes in other cases doesn't click on buttons. Is there a reason for it skipping? Is there something to do to increase stability? Thanks in advance!!! Link to comment Share on other sites More sharing options...
water Posted May 23, 2017 Share Posted May 23, 2017 Welcome to AutoIt and the forum! It's hard to tell what goes wrong without seeing your code. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Countleonardo Posted May 23, 2017 Author Share Posted May 23, 2017 I understand. The code is running with Selenium Automation, It is just similar to this with timeouts. ControlFocus("menu","","name1") ControlClick("menu","","name1") ControlSetText("menu","","name","Intelli") Link to comment Share on other sites More sharing options...
Countleonardo Posted May 23, 2017 Author Share Posted May 23, 2017 2 minutes ago, Countleonardo said: I understand. The code is running with Selenium Automation, It is just similar to this with timeouts. ControlFocus("menu","","name1") ControlClick("menu","","name1") ControlSetText("menu","","name","Intelli") here is java version autoit().sleep(Time); autoit().controlfocus(Window.title.get()); autiit().ControlSetText(Window.title.get(),"", Window.Email.get(), email); Link to comment Share on other sites More sharing options...
water Posted May 23, 2017 Share Posted May 23, 2017 Never worked with Selenium. Hopefully some more knowledagble users will chime in. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Countleonardo Posted May 23, 2017 Author Share Posted May 23, 2017 16 minutes ago, water said: Never worked with Selenium. Hopefully some more knowledagble users will chime in. Thanks! Link to comment Share on other sites More sharing options...
anthonyjr2 Posted May 23, 2017 Share Posted May 23, 2017 It might be that you are switching to the next input too quickly, so the send command doesn't have enough time to put the entire string in. Can you try adding a sleep after your write command and see if it helps? UHJvZmVzc2lvbmFsIENvbXB1dGVyZXI= Link to comment Share on other sites More sharing options...
Countleonardo Posted May 24, 2017 Author Share Posted May 24, 2017 16 hours ago, anthonyjr2 said: It might be that you are switching to the next input too quickly, so the send command doesn't have enough time to put the entire string in. Can you try adding a sleep after your write command and see if it helps? I do have a sleep between the commands, I even increased it to 5 seconds. It is very weird how it is jumping around. Thanks for the suggestion! Link to comment Share on other sites More sharing options...
anthonyjr2 Posted May 24, 2017 Share Posted May 24, 2017 Can you post more of your code? Even if it's just your java code it might help us more. UHJvZmVzc2lvbmFsIENvbXB1dGVyZXI= 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