🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2315

Re: Gaining access to other programs through java

#2315
From: Rich Wilkman
Date: Thu, 29 Mar 2001 18:34
20 lines
1890 bytes
Peter:

Automated test tools that do this have been around for about 10 years -- you
might search in that sector.  It is possible to drive Java UI with Java, but I
don't think you can use Java to easily (if at all) drive native code UI.  There
are native tools that can drive Java UI but they tend to be co-ordinate based
which makes them pretty fragile in a testing environment.

Do a search on UI Automation and you should get started.

-Rich

Peter Boivin wrote:

> I am interested in simulating human actions on other applications.  For
> instance, there is a log file that can only be accessed through the GUI of a
> program written in C++.  I do not know C++ so I want to be able to write
> something in Java that will act like it opens the GUI, hit the tab for the
> log, then do an Edit-Select All-Copy (after this paste it to Notepad).  Is
> there any way of programming this in Java?  Thanks, in advance.
Technical Details
Message-ID: <3AC3804C.82353B5C@formlessvoid.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews!209.144.169.10
References: <3ac29fb0$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,2fe3c29ec9e1f6f5
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-03-29 15:24:04 PST
Message-ID: <3AC3804C.82353B5C@formlessvoid.com>
Date: Thu, 29 Mar 2001 10:34:52 -0800
From: Rich Wilkman <richw@formlessvoid.com>
Reply-To: richw@formlessvoid.com
X-Mailer: Mozilla 4.74 [en] (WinNT; U)
X-Accept-Language: en,ja
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: Gaining access to other programs through java
References: <3ac29fb0$1_1@dnews>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 209.144.169.10
X-Trace: 29 Mar 2001 10:35:15 -0800, 209.144.169.10
Lines: 21
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews!209.144.169.10