Take screenshot test case