Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Moof1904

macrumors 65816
Original poster
I've been working on some scripts that result in a screen capture. So far so good. Currently, the name of the screen capture is a fixed value. What I'd love to do, however, is have the script name the screen capture the same name as the Test Case. That way, when I see an anomaly in a screen capture I know by the name of the png what specific Test Case in my Test Suite to investigate.

So, in summary, is it possible to have:

captureEntirePageScreenShot
/Users/whoever/filelocation/[the name of the test case].png

Thank you!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.