Jump to content

AutoIt Skips doesn't write entire string


Recommended Posts

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

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 - 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 (NEW 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

 

Link to comment
Share on other sites

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

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 - 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 (NEW 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

 

Link to comment
Share on other sites

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...