I am currently working on automating my tests using Selenium with TestNg and Java. I am able to take screenshot while the tests are running, but there are some situations where the test passes when ideally it should have failed.
So, Is there any java tool that can help in recording the running Selenium tests?
Basically, I want to add screen-cast to my framework. I searched a lot on web/SO but could not find any relevant resources. Any help or suggestion is welcome.
driver.getPageSource()
); and 2 - investing into logging that makes it clear what test is doing at every moment and why it takes this or the other path – Guilford