DF-291 autotesting: fixed screenshots, fixed writing to db