Solved

Programmatically controlling a unix application

Posted on 2002-07-26
7
233 Views
Last Modified: 2013-11-13
I have an application running on Solaris that has a very weak API. Some features are only available through it's user interface.

I need some examples of how one might go about programmatically controlling the application. I basically need to press some buttons and change text in edit boxes.

I've done this in Windows, but never unix. The application can use c/c++, java, perl, tcl, whatever (I'm familiar with all of these).
0
Comment
Question by:forloop
  • 4
  • 2
7 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 7181810
I can think of following solutions:

 1. purchase a software which can do this (sorry, don't have a produckt handy, but have a look at http://www.rational.com/)
 2. check if the application uses standard X resources
    That would be the most simplest way, 'cause you then can write a application resource file where all your values are filled in, and call the application which then should use these values (not shure if it works for events on buttons)
 3. write your own X-program which attaches to the application and fills in the values (X send), this requires that the application allowed the X send mechanism
 4. Tcl/Tk comes with a demo/rmt program which uses X send,
    unfortunately this demo can only talk to other Tcl/Tk applications, I'm not shure if it can be improved to talk to any X application

The most simple way is 1., I know that such products exist, at least for testing applications (stress test for example)
0
 
LVL 54

Expert Comment

by:nico5038
ID: 7517520

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
 - PAQ'd and pts removed
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7519092









hmm, either my comment is valuable somehow, or it is not.
If it is not valuable the question should be deleted.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 54

Expert Comment

by:nico5038
ID: 7520379
As I think there might be value in it for some, I advised to store it as a PAQ.
When you're sure that "the answer" is between your remarks, the just post an additional comment.
I'm only making proposals and a moderator will take action on my proposal and your comment :-)

Thanks for your reaction !

Nic;o)
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7521195
ask a moderator, please.
I vote for a PAQ, but not 0 points ('cause it's a valuable suggestion, somehow, IMHO).
I'm not gathering points, so you don't need to grade my comment. Just to be fair in compared to other PAQs.
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7552511
Force-accepted.

Netminder
EE Admin
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7556630
THANKS.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about a problem I had getting the GPS LocationListener working.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now