FQA-2075:Document preview - automation- M2