{anchor:TopOfPage}
{center}|[< Back|OLE QA Guide - Selenium Logs]| [Home|OLE QA Guide#Supplemental] | [Next >|OLE QA Guide - Selenium Screenshots]|{center}
|{toc:style=none|outline=true|indent=5px|separator=newline|maxlevel=3}|
h1. How to Take a Screenshot in Windows
!Keyboard - Alt Prt Sc.png|title="Grey Keyboard - CC Simon Lieschke @ Flickr",width=375px!
\\
* Highlight the Appropriate Window
** If you want to take a screenshot of just OLE, or just the Selenium window, make sure that window is currently selected. In general terms, so long as the screenshots are titled appropriately, separating your Selenium and OLE screenshots also ensures that the QA Team will have an easier time reviewing the information you want to capture.
* Hold {{Alt}} and Press {{Print Screen}}
** This key combination captures a screenshot of just the currently-selected window.
** The "Print Screen" key is frequently abbreviated, especially on laptop keyboards, and may have a label like {{PrtSc}}.
** The "Print Screen" key will often require an additional key on laptops, like the "Function" ({{Fn}}) key.
* Open a Photo Editing Program
* Press {{Ctrl}} + {{V}} to Paste the Screenshot
** Microsoft Paint is perhaps the quickest and easiest to use. Open Paint, then press {{Ctrl}} + {{V}} to paste the screenshot into the window once it opens. If there is extra white space around the screenshot, you can press {{Ctrl}} + {{Shift}} + {{X}} to crop the photo.
* Save the File
** You may want to give the screenshot a filename that relates to the the OLETS Test Case you are currently testing, for example, "OLETS-93 - Selenium Failure Screenshot."
[Top of Page|#TopOfPage]
h1. How to Take a Screenshot in Mac OS X
* Press {{Command}} !Bowen Knot - Mac Command Icon.png|width=10px! + {{Shift}} + {{4}}
* Click and Drag
** Your mouse pointer will now appear as a crosshair icon. Click the mouse button at one corner of the area to be captured, drag the mouse diagonally across to the other corner, and release the button.
** Once you release the mouse button, the picture will be automatically saved to your desktop.
** The filename is automatically generated, and will either appear as "Picture" with a following number (e.g. {{Picture 1}}) or "Screen Shot" with a following date (e.g. {{Screen Shot - 2012-08-16}}). You may want to change it so that it relates to the OLETS Test Case you are currently testing, for example, "OLETS-93 - Selenium Failure Screenshot."
[Top of Page|#TopOfPage]
h1. Attach the Screenshot
* For detailed instructions on how to attach a file to a Jira issue, see the article [How to Attach Files to Jira Issues|https://wiki.kuali.org/display/OLE/How+to+Attach+Files+to+Jira+Issues].
[Top of Page|#TopOfPage]
{center}|[< Back|OLE QA Guide - Selenium Logs]| [Home|OLE QA Guide#Supplemental] | [Next >|OLE QA Guide - Selenium Screenshots]|{center} |