Ask a Question

How to attach screen shots to automated test cases

Ravikiran07
Occasional Contributor

How to attach screen shots to automated test cases

Hello All,

I want to add Screenshots when ever a automated test is failed. Currently  I see .log file is being attached (As in attached image).

 

Ravikiran07_0-1647846599898.png

 


Is there a way where we can add screenshot that I capture if TC is failed.

Can you please guide me here.

5 REPLIES 5
vinniew
Staff

Hi @Ravikiran07 

 

It looks like you are using a plugin into Jira rather than Zephyr Enterprise. 

 

Are you using Zephyr Squad or Zephyr Scale? 

 

KR

Vinnie

Ravikiran07
Occasional Contributor

Hello @vinniew ,

We are using Zephyr Squad as plugin with JIRA.

Hey @Ravikiran07 

 

We have a script extension to Zephyr Squad built into TestComplete 

 

This should provide screenshots/log data from the integration 

 

https://support.smartbear.com/testcomplete/docs/working-with/integration/zephyr/index.html

 

KR


Vinnie

 

Ravikiran07
Occasional Contributor

Hey @vinniew ,

I'm using Selenium TestNG framework. 

@Ravikiran07 my apologies when you said TC I thought you meant TestComplete rather than the TestCase. 

 

I assume you are uploading XML as per https://support.smartbear.com/zephyr-squad-server/docs/test-automation/api.html#upload-file

 

Is there a log/attachment tag parsed into the XML from Test NG?  

 

You may need to add this if its not

 

KR

Vinnie

cancel
Showing results for 
Search instead for 
Did you mean: