Python Forum

Full Version: Is it possible to open windows and do screenshots with Python?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So just trying to see what is possible or if its worth it to try within python.

So during our testing, there are times we need to capture before, during and after screen shots of certain network folders, when we initially start testing we are doing it manually, no problem. But once we get to a point in the overall testing that we begin the automated /scheduled testing we dont always need someone watching, but would still like to get those 3 screenshots..

I know it can be done with Visual Studio and c#, but i dont have access to that in this role, but i have python, so before going down a rabbit hole, can anyone say if those few tasks are possible?

#1 getting / capturing screenshots?
#2 opening windows explorer windows (specifically 4 windows) prior to the screen capture?
Very cool, thank you, i may not have searched for the right thing, or not looked at all the results. but def looks doable.. I have plenty of time this afternoon to play around with this.. thanks again..

Ill refine my google search to see if i just missed this example..