?
Solved

Programmatically controlling a unix application

Posted on 2002-07-26
7
Medium Priority
?
242 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 400 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Make the most of your online learning experience.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
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 …
Simple Linear Regression

762 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