Countleonardo Posted May 23, 2017 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!!!
water Posted May 23, 2017 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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Countleonardo Posted May 23, 2017 Author 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")
Countleonardo Posted May 23, 2017 Author 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);
water Posted May 23, 2017 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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Countleonardo Posted May 23, 2017 Author Posted May 23, 2017 16 minutes ago, water said: Never worked with Selenium. Hopefully some more knowledagble users will chime in. Thanks!
anthonyjr2 Posted May 23, 2017 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=
Countleonardo Posted May 24, 2017 Author 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!
anthonyjr2 Posted May 24, 2017 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=
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