Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > GUI automation tool (windows)

Reply
Thread Tools

GUI automation tool (windows)

 
 
Alex Barna
Guest
Posts: n/a
 
      08-09-2010
I know that this question has been asked for several times, but it
surprises that there is no tool under very active development and the
community activities are very low (mailing list posts).

All the tools listed in:

http://pycheesecake.org/wiki/PythonT...UITestingTools

Comparing with AutoIt (www.autoitscript.com), it has tens to hundreds
of posts everyday. AutoIt uses a proprietary BASIC -like language, and
to be honest, I don't like it and I prefer a Pythonic solution.

pywinauto seems to be the best choice but the community has been very
low also. The same happens in pyguiunit, pyAA, WATSUP, all development
seem to be ceased.

So what happens to this field (Windows GUI automation) ?
 
Reply With Quote
 
 
 
 
alex23
Guest
Posts: n/a
 
      08-10-2010
Alex Barna <alex.lavoro.pro...@gmail.com> wrote:
> So what happens to this field (Windows GUI automation) ?


Either someone cares enough to do something about it, or everyone just
defaults to using AutoIT-like tools.

Which Python implementation are you planning on contributing to?
 
Reply With Quote
 
 
 
 
Lawrence D'Oliveiro
Guest
Posts: n/a
 
      08-10-2010
In message
<56a18e2b-4967-4a63-852e->, Alex
Barna wrote:

> So what happens to this field (Windows GUI automation) ?


Can’t understand the point to it. “GUI automation” is a contradiction in
terms, because a GUI is designed for use by humans to do manual tasks, not
ones that can be automated.

Tasks that can be automated are most easily, flexibly, and above all
reliably, done via command lines and other such scripting interfaces.
 
Reply With Quote
 
Steven D'Aprano
Guest
Posts: n/a
 
      08-10-2010
On Tue, 10 Aug 2010 20:05:12 +1200, Lawrence D'Oliveiro wrote:

> In message
> <56a18e2b-4967-4a63-852e->, Alex
> Barna wrote:
>
>> So what happens to this field (Windows GUI automation) ?

>
> Can’t understand the point to it. “GUI automation” is a contradiction in
> terms, because a GUI is designed for use by humans to do manual tasks,
> not ones that can be automated.


There have been plenty of systems for recording user actions and playing
them back. They're very useful at times.

http://en.wikipedia.org/wiki/Macro_recorder
http://en.wikipedia.org/wiki/Macro_(computer_science)


You might even have heard of one of them... Emacs. I hear that it's
moderately popular among Linux users.

http://www.linuxjournal.com/article/3769



> Tasks that can be automated are most easily, flexibly, and above all
> reliably, done via command lines and other such scripting interfaces.


That's a matter of opinion, and it clearly depends on the nature of the
GUI and CLI, as well as what task you're trying to automate.



--
Steven
 
Reply With Quote
 
Chien
Guest
Posts: n/a
 
      08-10-2010
On Aug 10, 5:56*am, alex23 <wuwe...@gmail.com> wrote:
> Alex Barna <alex.lavoro.pro...@gmail.com> wrote:
> > So what happens to this field (Windows GUI automation) ?

>
> Either someone cares enough to do something about it, or everyone just
> defaults to using AutoIT-like tools.


There were a lot of development but then all ceased, except pywinauto
has a final release in April, but really low community activity. Does
it mean AutoIt has much more advantages than Python tools (which I
have not realized) ?

> Which Python implementation are you planning on contributing to?


I'd say pywinauto. It's more O-O than the other tools. Excerpt from
its homepage (http://pywinauto.openqa.org/):

<quote>
Most other tools are not object oriented you end up writing stuff
like:

window = findwindow(title = "Untitled - Notepad", class =
"Notepad")
SendKeys(window, "%OF") # Format -> Font
fontdialog = findwindow("title = "Font")
buttonClick(fontdialog, "OK")

I was hoping to create something more userfriendly (and pythonic):

win = app.UntitledNotepad
win.MenuSelect("Format->Font")
app.Font.OK.Click()
</quote>

Alex Barna
 
Reply With Quote
 
Alex Barna
Guest
Posts: n/a
 
      08-10-2010
On Aug 10, 10:05*am, Lawrence D'Oliveiro > Cant understand the point
to it. GUI automation is a contradiction in
> terms, because a GUI is designed for use by humans to do manual tasks, not
> ones that can be automated.


Automating GUI is for testing.
 
Reply With Quote
 
News123
Guest
Posts: n/a
 
      08-10-2010
On 08/10/2010 12:25 PM, Alex Barna wrote:
> On Aug 10, 10:05 am, Lawrence D'Oliveiro > Cant understand the point
> to it. GUI automation is a contradiction in
>> terms, because a GUI is designed for use by humans to do manual tasks, not
>> ones that can be automated.

>
> Automating GUI is for testing.

And sometimesfor working around SW, whch has no cli or other interface
and should be automated

 
Reply With Quote
 
Martin P. Hellwig
Guest
Posts: n/a
 
      08-10-2010
On 08/10/10 20:13, News123 wrote:
> On 08/10/2010 12:25 PM, Alex Barna wrote:
>> On Aug 10, 10:05 am, Lawrence D'Oliveiro> Cant understand the point
>> to it. GUI automation is a contradiction in
>>> terms, because a GUI is designed for use by humans to do manual tasks, not
>>> ones that can be automated.

>>
>> Automating GUI is for testing.

> And sometimesfor working around SW, whch has no cli or other interface
> and should be automated
>

That and when you are forced using a gui and need to 'copy and paste'
between two programs that have no native bridge except for the one that
is between the keyboard and chair, then it is nice to know that there is
a way of automating it.

--
mph
 
Reply With Quote
 
Lawrence D'Oliveiro
Guest
Posts: n/a
 
      08-11-2010
In message
<abe9b308-db83-4ca8-a71a->, Alex
Barna wrote:

> On Aug 10, 10:05 am, Lawrence D'Oliveiro
>
>> Can’t understand the point to it. “GUI automation” is a contradiction in
>> terms, because a GUI is designed for use by humans to do manual tasks,
>> not ones that can be automated.

>
> Automating GUI is for testing.


But the most egregious GUI problems are going to be with humans being unable
to figure out how to do something, am I right? How are you going to uncover
those problems, except by testing with real people? Automated testing isn’t
going to do it.
 
Reply With Quote
 
Lawrence D'Oliveiro
Guest
Posts: n/a
 
      08-11-2010
In message <4c61a4f5$0$5804$>, News123 wrote:

> On 08/10/2010 12:25 PM, Alex Barna wrote:
>
>> On Aug 10, 10:05 am, Lawrence D'Oliveiro
>>
>>> Can’t understand the point to it. “GUI automation” is a contradiction in
>>> terms, because a GUI is designed for use by humans to do manual tasks,
>>> not ones that can be automated.

>>
>> Automating GUI is for testing.

>
> And sometimesfor working around SW, whch has no cli or other interface
> and should be automated


Who would design software in such a brain-dead way?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows GUI automation question Axel Etzold Ruby 1 08-19-2009 04:59 PM
Applet GUI testing automation lofenee Java 17 07-18-2008 01:21 AM
optionparser to gui automation? Mark Noworolski Ruby 5 03-25-2008 07:33 PM
Supressing the ctrl-c and other keys during word automation in automation apondu ASP .Net 0 07-19-2007 09:10 PM
Re: Help: Method invocation using an automation tool. D. Lane Java 0 06-27-2003 10:40 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57