fix screen capture in share test to check for exceptions after rather than before
fix screen capture in share test to check for exceptions after rather than before

cau-vfu/DMPonline_v4,BibNumUMontreal/DMPonline_v4,BibNumUMontreal/DMPonline_v4,cau-vfu/DMPonline_v4,BibNumUMontreal/DMPonline_v4,cau-vfu/DMPonline_v4