note:am not using ReFramework as I dont have .
I want to capture the Error Message screen.
This is my catch block,
Here message popup with error, dont close unless i click on ‘ok’, once i click ‘Ok’ it captures different screen.
How do i achieve taking screenshot of error message?