i cant get failure screenshots in artifacts section

turgut.kanceltik's Avatar


25 Mar, 2015 06:54 PM

We need to be able to see the screenshots of our failing acceptance tests.How can we achieve that ? Should we use Appveyor Artifacts?

  1. Support Staff 1 Posted by Feodor Fitsner on 26 Mar, 2015 04:26 AM

    Feodor Fitsner's Avatar

    Do you see Get-ChildItem .\*.png -Recurse | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name } outputed into build console? If so, then the script is getting called, but most probably there are no PNG files found in the current folder.

    Try doing just Get-ChildItem .\*.png -Recurse to see what you get there.

  2. 2 Posted by turgut.kancelti... on 27 Mar, 2015 07:27 PM

    turgut.kanceltik's Avatar

    I tried but it was not.

  3. Support Staff 3 Posted by Feodor Fitsner on 28 Mar, 2015 04:49 AM

    Feodor Fitsner's Avatar

    Well, this could mean your build is not producing any PNGs.

  4. 4 Posted by turgut.kancelti... on 28 Mar, 2015 03:36 PM

    turgut.kanceltik's Avatar

    my code..

  5. Support Staff 5 Posted by Feodor Fitsner on 28 Mar, 2015 06:27 PM

    Feodor Fitsner's Avatar

    I'm not sure which driver version you use, but take a look at this example with Chrome driver: https://github.com/FeodorFitsner/selenium-tests/blob/master/Seleniu...

    Using that method I was able to capture screenshots: https://ci.appveyor.com/project/FeodorFitsner/selenium-tests/build/...
    appveyor.yml: https://github.com/FeodorFitsner/selenium-tests/blob/master/appveyo...

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:55 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac