Lab 8
Lab 8
Attached Files:
Calculator.zip (135.794 KB)
Pybot Error Message.pdf (235.344 KB)
Terminal Window.pdf (300.123 KB)
Software Testing Scripting Labs.pdf (285.885 KB)
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.
2. 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.
3. Your server User ID and Password are posted in the grades section of Blackboard. Watch
the YouTube video at (http://youtu.be/X18k58G32EM) for a demonstration of how to logon
and use Robot Framework on the ACC server (cs1.austincc.edu).
4. Additional general information about the operation of Robot Framework can be found in
the YouTube video at (https://www.youtube.com/watch?v=T0SK5A1rwdk). NOTE: This is for
general information only - please ignore any comments about how to logon.
5. Your assignment for this Lab is to execute all THREE of the following scripts
(keyword_driven.txt, data_driven.txt, and gherkin.txt) and analyze the results of each script.
These scripts can be found in the attached zip file (Calculator.zip). You will need to unzip
these files on a local machine, then upload the entire folder to your ACC server
(cs1.austincc.edu) prior to executing the scripts. The command that you use to execute
these scripts (as shown in the video) is “pybot” followed by a SPACE, then the path to your
scripting file on the server.
6. Execute each script one at a time, and download and rename the result files (log.html and
report.html) before running the next script since the result files will be overwritten each time
you execute a script. NOTE: If you encounter the error message "Cannot execute pybot",
please refer to the attached document "Pybot Error Message. pdf". If you get a “permission
error”, it is most likely a result of the server side of WinSCP (right hand side) not pointing to
your home directory. To fix this problem, click on the picture of the HOUSE (right hand side)
to return to your “home directory” on the server.
7. You are to analyze each set of output and the associated script (each one is different).
Your assignment is to create a simple, but clear analysis describing the differences in each
script. Be sure to include the differences in each language used to write each script and the
results of the execution.
8. When you have finished this lab, submit your analysis via the assignment link on Blackboard as well as
all three sets of result files.