Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I would like to know the alternative tool for Autoit (which is used in Windows) Can some one Please suggest me which tool is I should use and how to install that in Linux machine.
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627
Rep:
Try yad with bash scripts. That works in a similar way but is more flexible because you create your own scripts with bash and you create the window with buttons and icons with yad.
Zenity is another gui creator (I think yad is a fork of this).
Hi Pete, Thanks for your reply, I did not understood what you said fully, We have one full working program scripts for UI automation, I just want to run those on Linux machine. I do not have much rights to change the scripts except install the required tools or plugin on the system.
Thanks,
Vinay
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627
Rep:
Quote:
Originally Posted by reddy_dvk2000
Hi Pete, Thanks for your reply, I did not understood what you said fully, We have one full working program scripts for UI automation, I just want to run those on Linux machine. I do not have much rights to change the scripts except install the required tools or plugin on the system.
Thanks,
Vinay
If they're autoit scripts then they're unlikely to work on linux. You would have to start again from scratch.
Hi Pete, Thanks, Now I understood better than earlier, seems some of the lines of my code needs to be replaced for the linux.
Hmmmm... Can i use this yad in python code in-between? can you please guide me for some docs or examples in this,
Hi Pete, sorry for confusion, I am testing one GUI application in that web UI will give one pop up in that i need to select the file to be uploaded.
I am not generating any popup, for this also can I use yad?
there's no 1:1 replacement for these windows tools.
partly because they are usually not required.
linux follows a whole different paradigm and there's no need to "circumvent the ui".
in other words, it would be better if you told us why you need to automate the pressing of the OK button. what exactly is that OK button going to do. what are you really trying to achieve - http://xyproblem.info/
but - if you really need to do it that way, you will probably need to script something with xdotool.
first select the proper window with wmctrl.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.