Jump to content
Countleonardo

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!!!

Share this post


Link to post
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 (2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2019-03-02 - Version 1.3.5.0) - Download - General Help & Support - Example Scripts - Wiki
Outlook Tools (2019-01-22 - Version 0.1.0.0) - Download - General Help & Support
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites

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")

Share this post


Link to post
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);

Share this post


Link to post
Share on other sites

Never worked with Selenium. Hopefully some more knowledagble users will chime in.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2019-03-02 - Version 1.3.5.0) - Download - General Help & Support - Example Scripts - Wiki
Outlook Tools (2019-01-22 - Version 0.1.0.0) - Download - General Help & Support
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
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!

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

×
×
  • Create New...