Jump to content

AutoIt does not work when multiple controls on page have same ID


Recommended Posts

Hi All,

   I am using AutoITX with selenium to automate windows client, and AutoIT functions are not working when i have no ID for the controls (where name /class name is present)

or multiple controls with the same ID are present.

in this case i used more than one control property to recognize the element but still it didn't work

here goes my code:

AutoItX autoIt= new AutoItX()

autoIt.controlSend("title","text","[Class: Edit; Instance:1]","texttoset");

 

Can somebody please help me here to handle this situation.

Configuration: 

Eclipse Photon

Selenium 3

AutoItX (Jacob COM bridge to use AutoIt features in JAVA)

 

Thanks,

Praneetha

 

 

 

 

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