How to Take a Screenshot in Windows
- 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 PressPrint 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 pressCtrl
+Shift
+X
to crop the photo.
- Microsoft Paint is perhaps the quickest and easiest to use. Open Paint, then press
- 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."
How to Take a Screenshot in Mac OS X
- Press
Command
+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."
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.