Title: Lab 1
Course: Special Topics in Computer Programming (TEMPLATE) > Section: Competency Modules

Check schedule for due date

Objective:

In this lab you will use a tool called Robot Framework to create and execute test cases and scripts.

Steps for success:

1. The Robot Framework tool is installed on an ACC server (cois-linux) that is accessible to every student from a PC.  You will need to use WinSCP to logon the server and to upload your scripts to the server, and to download the results from the server.  If you have not already downloaded WinSCP, please refer to the instructions (Software Testing Scripting Labs.pdf). NOTE: You may find it helpful to verify that you have a text editor installed to view and edit text files (eg: WordPad) and the Python IDLE editor installed to view and edit the python files.

2. Your server User name (cois-linux User name) and Password (cois-linux Password) for the server are posted in the grades section of Blackboard.  If you have questions on how to access and use Robot Framework you may want to review the YouTube video at (https://youtu.be/Y3UeAc6QMis) for a demonstration of how to logon and use Robot Framework on the ACC server (cs1.austincc.edu).NOTE:  The server name was changed to cs1.austincc.edu since this video was created.

3. Your assignment for this Lab is to finish modifying a partially completed implementation of a Hexadecimal Calculator.  The two files that you will need to modify are Calculator.py and keyword_driven.txt.  After modification you need to execute keyword_driven.txt.  These scripts can be found in the attached zip file (HexDemo.zip).  You will need to unzip these files on a local machine, then upload the entire folder to your ACC server (cois-linux) prior to executing the scripts.  NOTE 1: Calculator.py uses the "C" key for clear, but "C" becomes a valid hexadecimal digit, so you will need to use a different key for Clear.  You will also need to modify Calculator.py to accept all hexadecimal characters and you need to modify keyword_driven.txt to include a comprehensive set of tests for your newly created Hexadecimal Calculator. NOTE 2:  If you encounter the error message "Cannot execute pybot", please refer to the attached document "Pybot Error Message. pdf"

4. When you have finished this lab, submit an updated copy of your HexDemo.zip file for grading.

Attached Files:
- HexDemo.zip
- Software Testing Scripting Labs(3).pdf
- Terminal Window(4).pdf
- Pybot Error Message(2).pdf