Tosca - Generate screenshots for each test step


Dokusnapper is a facility to generate report with the screenshots for each test step we are running while execution.
What this report will provide at the end is as following:
  1. A word document for each test case.
  2. There will be 2 columns in this report one is screenshot and the other is information.
  3. Each test step will have one screenshot.
  4. Each screenshot will be having some inline commentaries about the action we are trying to perform in this particular test step.
  5. There is one logo at the header of each page (default or customized) is totally your choice
  6. Test case name as per the name of test case you've provided in your ExecutionList.
  7. Page number at the footer.

Now we'll see how to set this report generation up . . .
  1.  First of all lets create one folder location called “DocuSnapperReports” on the path C:\Tosca_Projects\ToscaCommander\
  2. Now Navigate to C:\Tosca_Projects\ToscaCommander\Templates where you’ll find a document TemplateDokuSnapper.doc which is a template for the report generation. 
  3. Go to Tosca commander and open Settings dialog and navigate to Settings->Engine->DokuSnapper->Enable Snapper and select Yes from the dropdown. 
  4. Mention Engine.DokuSnapper.Path as @{Environment.ProjectDir}\DocuSnapperReports 
  5. Mention Engine.DokuSnapper.Template @{Environment.ProjectDir}\templates\TemplateDokuSnapper.doc 
  6. Close settings and run your test cases either from execution or from scratchbook, a detailed report will get generated at path mentioned in point 1.




Comments

  1. Hello,

    I am already using docu snapper for generating reports , but I am working on oracle form application so whenever i run my script that time docu snappe is capturing only web application screenshots and not oracle forms any idea how to capture the screenshots of oracle forms...using docu snapper is there any sepearte setting to be enabled??

    ReplyDelete

Post a Comment

Popular posts from this blog

How to Buffer current URL using Tricentis Tosca