Qaf: Screen shot for API failure step

Created on 8 May 2017  ·  1Comment  ·  Source: qmetry/qaf

Hi,

I have two BDD scenarions, first BDD for UI screen which has code to takes screen shot for Pass/fail BDD step. However,Second BDD is about to API steps automation. If we find API test case failure then failure step shows screenshot of earlier last screen shot of first BDD step.

bug

Most helpful comment

As quick work around you can cleanup screenshot in step listener before execute method.

TestBaseProvider.instance().get().setLastCapturedScreenShot("");

>All comments

As quick work around you can cleanup screenshot in step listener before execute method.

TestBaseProvider.instance().get().setLastCapturedScreenShot("");

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BChitrakannan picture BChitrakannan  ·  9Comments

raviguptasmarsh picture raviguptasmarsh  ·  8Comments

Rupak-66 picture Rupak-66  ·  12Comments

Nandesh7 picture Nandesh7  ·  8Comments

cjayswal picture cjayswal  ·  17Comments