Software Testing Scripting Labs
Software Testing Scripting Labs
Some of the labs in this course require the creation of a script on a local Windows machine, followed by
a transfer of that script to a server, then the execution of that script on the server, and finally the
transfer of the results back from the server to the local Windows machine.
Script
Linux Command
Local Windows Machine cs1.austincc.edu server
Results
Secure Shell (SSH) is a program to log into another computer over a network, to execute commands in a
remote machine, and to move files from one machine to another. It provides strong authentication and
secure communications over insecure channels. Once connected, SFTP (secure file transfer protocol) is
used to transfer files between the two computers (www.webopedia.com/TERM/S/SSH.htmp).
The program that will be used in this course to support both the SSH and SFTP activity is an open source
program called WinSCP. This program has two different ways of being installed. One method requires
the code to be installed on each local Windows machine. The other method allows the program to be
installed on a flash drive, thus allowing the program to essentially be executed on any Windows
machine. This is called the “portable” version and is the version that will be used for this course since it
allows the students to do their assignments on virtually any Windows machine.
To download and install this “portable” version on a flash drive, navigate to the following URL
http://winscp.net/eng/download.php , and select “Portable executables”
A pop up Window will appear, select “Save File” then Click on OK
After the download is complete, there will be a zipped file in your Downloads folder. You will then need
to unzip (“Extract”) this onto a flash drive and you have successfully created your Portable version of
WinSCP.
To run this portable application open the winscpxxx folder on your flash drive (the xxx represent the
version and level of your software), then click on the WinSCP Application (next to the icon) and the
WinSCP Login screen will appear.
Each student has been assigned a user ID and password for the cs1.austincc.edu server. You will find
both your cs1.austincc.edu User name and Password listed in the grades section of Blackboard. Verify
that the File protocol reflects SFTP. You will then need to enter your User name, password, Host name
(cs1.austincc.edu), and Port number (22) then click “login”.