i cant get failure screenshots in artifacts section

  1. 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. I tried but it was not.

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

  4. my code..

  5. 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

Generic

? 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