How to write ControlID in AutoIt library

509 views
Skip to first unread message

midnig...@gmail.com

unread,
Apr 8, 2013, 8:31:46 AM4/8/13
to robotframe...@googlegroups.com
Hi, I  just started using  AutoIt library. I am having problem to perform typing on a textfield. I experimented with  Autoit SciTE as follows and that works perfect:

AutoIT:

                                           ControlSend("Add a contact","","[ID:1102]","something")

But If I use same thing from RIDE as follows it does not  work:

                                          Control Send    Add a contact    {EMPTY}    [Id:1102]    something

Can anyone please help in this regard?

BR,
DD

Taylor, Martin

unread,
Apr 8, 2013, 9:13:53 AM4/8/13
to midnig...@gmail.com, robotframe...@googlegroups.com

The AutoItLibrary wraps the AutoItX COM object.  Sometimes its keyword methods are not the same as the ones you would use in AutoIt’s own “language”.  Check the KW documentation in C:\RobotFramework\Extensions\AutoItLibrary\AutoItLibrary.html or in RIDE for details.

 

Cheers,

Martin

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

midnig...@gmail.com

unread,
Apr 8, 2013, 9:25:20 AM4/8/13
to robotframe...@googlegroups.com, midnig...@gmail.com

Hi, Thanks for your reply. I checked the documentation before using it. The parameter order is same in both cases for that function mentioned here. There is no example of how to write control id in documentation either. So still in problem .

Br,
DD



On Monday, April 8, 2013 4:13:53 PM UTC+3, Martin Taylor wrote:

The AutoItLibrary wraps the AutoItX COM object.  Sometimes its keyword methods are not the same as the ones you would use in AutoIt’s own “language”.  Check the KW documentation in C:\RobotFramework\Extensions\AutoItLibrary\AutoItLibrary.html or in RIDE for details.

 

Cheers,

Martin

 

From: robotframe...@googlegroups.com [mailto:robotframe...@googlegroups.com] On Behalf Of midnig...@gmail.com
Sent: Monday, April 08, 2013 7:32 AM
To: robotframe...@googlegroups.com
Subject: How to write ControlID in AutoIt library

 

Hi, I  just started using  AutoIt library. I am having problem to perform typing on a textfield. I experimented with  Autoit SciTE as follows and that works perfect:

AutoIT:

                                           ControlSend("Add a contact","","[ID:1102]","something")

But If I use same thing from RIDE as follows it does not  work:

                                          Control Send    Add a contact    {EMPTY}    [Id:1102]    something

Can anyone please help in this regard?

BR,
DD

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotfram...@googlegroups.com.

Taylor, Martin

unread,
Apr 8, 2013, 9:30:22 AM4/8/13
to midnig...@gmail.com, robotframe...@googlegroups.com

Try:
                                          Control Send    Add a contact    ${EMPTY}    [Id:1102]    something

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.


To post to this group, send email to robotfram...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--

You received this message because you are subscribed to the Google Groups "robotframework-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.

midnig...@gmail.com

unread,
Apr 9, 2013, 3:38:41 AM4/9/13
to robotframe...@googlegroups.com, midnig...@gmail.com
HI,
Thanks. :)
It was my mistake I forgot to put $ sign. Problem  is solved now. thanks again.
DD

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.


To post to this group, send email to robotfram...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.

parimala...@estuate.com

unread,
Feb 13, 2018, 8:55:25 AM2/13/18
to robotframework-users

  Hi ,


I want to Automate a java based desktop application.Can I use robotframework  AuoItlibrary  for this purpose?

Thanks,
Parimala

adam.wyp...@gmail.com

unread,
Feb 13, 2018, 10:54:58 AM2/13/18
to robotframework-users
Hi,

as far as I remember AutoIt works with COM objects. For Java you should use Robot Framework Remote Swing Library.

Best Regards,
-Adam.

Tatu Aalto

unread,
Feb 13, 2018, 11:51:15 AM2/13/18
to adam.wyp...@gmail.com, robotframework-users
Ugh

AutoIT[1] should have a viewer, which allows you to see are the UI application controls visible to the AutoIT. Unfortunately I can't find from the mobile site, where that viewer is located.

-Tatu
Send from my mobile

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsubscrib...@googlegroups.com.


To post to this group, send email to robotfram...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsubscrib...@googlegroups.com.


To post to this group, send email to robotfram...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
  Hi ,


I want to Automate a java based desktop application.Can I use robotframework  AuoItlibrary  for this purpose?

Thanks,
Parimala

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

adam.wyp...@gmail.com

unread,
Feb 13, 2018, 11:53:34 AM2/13/18
to robotframework-users
https://github.com/lucyking/robotframework-autoitlibrary/tree/master/3rdPartyTools/AutoIt path to autoIt tools - I think Tatu is refering to Au3Info.exe

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.

To post to this group, send email to robotfram...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotfram...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
  Hi ,


I want to Automate a java based desktop application.Can I use robotframework  AuoItlibrary  for this purpose?

Thanks,
Parimala

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.

Tatu Aalto

unread,
Feb 13, 2018, 12:03:01 PM2/13/18
to adam.wyp...@gmail.com, robotframework-users
Ugh

Thanks, I think also that it was that one. Download and run the exe, it should open a UI which allows you to view the controls of your application.


-Tatu
Send from my mobile

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsubscrib...@googlegroups.com.


To post to this group, send email to robotfram...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsubscrib...@googlegroups.com.


To post to this group, send email to robotfram...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
  Hi ,


I want to Automate a java based desktop application.Can I use robotframework  AuoItlibrary  for this purpose?

Thanks,
Parimala

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsubscrib...@googlegroups.com.

To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.

adam.wyp...@gmail.com

unread,
Feb 14, 2018, 1:41:23 AM2/14/18
to robotframe...@googlegroups.com
For Java you need to use special branch - https://www.autoitscript.com/forum/topic/87956-java-udf/ , so in my opinion is better to use something (Remote Swing Library) design for Java, which use internal Java applications elements. A specially because you will not able to control some elements like lists.

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.

To post to this group, send email to robotfram...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.

To post to this group, send email to robotfram...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
  Hi ,


I want to Automate a java based desktop application.Can I use robotframework  AuoItlibrary  for this purpose?

Thanks,
Parimala

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages