I am currently wanting to automate the testing of a piece of software which runs in UNIX. The software is fairly basic, it has a menu, returns command line messages while operating, etc. I need to test it loading many different files which are all well organized and then run various combinations of menu options.
Basically my question is what would be the best approach and language to implement this quickly and efficiently? I'd like to be able able to run the same test/script on all of the input files automatically. But even if I had to run a small script which inputs the files individually it would save me a lot of time.
Being able to log and make decisions based on output to the console is very important.
I'm sure the solution is pretty simple but I'm new to UNIX and Google didn't really provide anything too relevant. Any pointers and references that would help me solve this problem would be greatly appreciated.
Thank you. That got me started on a lot of things.
However, a key component is to be able to act on different cases output to the console from the application. (i.e. if theres an error/crash or other interesting case, log it, then progress accordingly).
My ideal would be some sort of wrapper program which will let me load/design scripts for this and other apps and have the system run them, logging the atypical results among other data.
Of course the minimum viable would be individual scripts to be run 1 at a time. However due to the number/complexity of the files that need to be operated on this isn't a good solution.
Hi ,
I want to pull files from ftp monthly once . The files in ftp has a something like 292_fileto_pull and next month it will be 293_fileto_pull for each month the number keeps increasing. i thought in my script if i can use date and increment the number by it
mget *_292_fileto_pull
i... (2 Replies)
Hi All,
I have a shell script that is integrated with a fault management system. It periodically monitors the system and raises an alarm. This script has different functions and it accepts input from us on the console. Is there any way to invoke it using a shell script ?
Please advise.
... (2 Replies)
Could any one tell me , how to start a thread here, i just searching for so long. sorry to post in irrelavent here
---------- Post updated at 08:19 AM ---------- Previous update was at 08:00 AM ----------
Hi,
I got a requirement to automate the process.
We have SLA files, there are... (1 Reply)
Hi Guru's,
I am trying to write a scripts that will automate my image provisoining process.
Scenario:
I have Linux Image Hosted on cloud which needs to be provisoned before it can be used. Currently we log onto the image through the putty on windows and connect to linux instance. I... (3 Replies)
I'm a New Media student working at a small media/tech company that's part of the New Media department at my school. I'm working on a MySQL/LDAP-based system for keeping track of users of our Mac file server. I'm trying to write a script that backs up our LDAP database using the slapconfig command... (0 Replies)
Hi there,
I am trying to send emails from within a shell script, and I need help. Also I am trying to send attachments from within a shell script. I am using sendmail.
Regards (3 Replies)
Hi all,
I want to write a script which logs into a database (DB2). To do this i need to have a password. This will be done lots and lots of times, so i need to modify the script to automate the response to the password request.
How do i this, because at present i do the following:
db2 connect... (3 Replies)