# Access the screenshots from Snapshot

**URL:** <https://discuss.bitrise.io/t/access-the-screenshots-from-snapshot/2282>\
**Category:** Question & Answer\
**Created:** [July 17, 2017, 1:21pm UTC](https://discuss.bitrise.io/t/access-the-screenshots-from-snapshot/2282 "2017-07-17T13:21:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarryd](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jarryd](https://discuss.bitrise.io/u/jarryd)\
**Post date:** [July 17, 2017, 1:21pm UTC](https://discuss.bitrise.io/t/access-the-screenshots-from-snapshot/2282/1 "2017-07-17T13:21:50Z")

</div>

I have added the option to export the build using export\_uitest\_artifacts with no luck.

Once I added it to the top level using

input:

- export\_uitest\_artifacts: ‘true’

and another time using this in the workflow step of the tests.

What is the correct way to get the screenshots to dump? Is it possible to generate a url link to the screenshots as snapshot displays the results as an html page so its easy to spot issues.

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 17, 2017, 1:47pm UTC](https://discuss.bitrise.io/t/access-the-screenshots-from-snapshot/2282/2 "2017-07-17T13:47:38Z")

</div>

Hi @jarryd,

“from Snapshot” - do you mean the fastlane snapshot tool? Or the Xcode built in?

For the Xcode built in UI Test screenshots simply open the workflow editor, select the **Xcode Test** step and set **Export UITest Artifacts** input to **true** (it’s in the **_Testing_** input group).

For fastlane snapshot: [Screenshot.html from Fastlane Snapshot](http://discuss.bitrise.io/t/screenshot-html-from-fastlane-snapshot/1124)

> [@jarryd](#):
>
> Is it possible to generate a url link to the screenshots as snapshot displays the results as an html page so its easy to spot issues.

For that please vote on this feature request [iOS Screenshots delivered by 'Deploy to BitRise' step](http://discuss.bitrise.io/t/ios-screenshots-delivered-by-deploy-to-bitrise-step/2076)

If you have any questions just let us know! 🙂

---

<div class="post-metadata">

**Author:** ![jarryd](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jarryd](https://discuss.bitrise.io/u/jarryd)\
**Post date:** [July 17, 2017, 3:29pm UTC](https://discuss.bitrise.io/t/access-the-screenshots-from-snapshot/2282/3 "2017-07-17T15:29:30Z")

</div>

Thanks for this.

How is the url determined?

I added this -

- deploy-to-bitrise-io@1.3.5:  
inputs:
  - deploy\_path: “/screenshots/screenshots.html”

while other files are being deployed from e.g.

/Users/vagrant/deploy/export\_options.plist

Its not being copied. Should I do something like this

/Users/vagrant/deploy/screenshots/screenshots.html

these snapshot builds take forever, so Id rather ask before trying again 😃

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 17, 2017, 3:34pm UTC](https://discuss.bitrise.io/t/access-the-screenshots-from-snapshot/2282/4 "2017-07-17T15:34:38Z")

</div>

You can check where the screenshots.html is generated on your Mac, and specify the relative path on [bitrise.io](http://bitrise.io) - **relative to the root of the repository** (not to the fastlane config or xcode project, but to the repository’s root).

Please don’t use absolute paths, we don’t guarantee that those paths won’t change. Either use a relative path (to the repo root) or use the `$BITRISE_SOURCE_DIR` env var which points to the root of the repo (or if you need the deploy dir - but I don’t think you do - `$BITRISE_DEPLOY_DIR`).

---

<div class="post-metadata">

**Author:** ![jarryd](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jarryd](https://discuss.bitrise.io/u/jarryd)\
**Post date:** [July 18, 2017, 11:42am UTC](https://discuss.bitrise.io/t/access-the-screenshots-from-snapshot/2282/5 "2017-07-18T11:42:39Z")

</div>

Great, I got this working by adding a second deploy to bitrise step and used the

```auto
   - deploy-to-bitrise-io:
        inputs:
        - deploy_path: /deploy/this/directory/recursively
        - is_compress: 'true'

```

options inside the workflow.

Thanks

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [July 18, 2017, 12:29pm UTC](https://discuss.bitrise.io/t/access-the-screenshots-from-snapshot/2282/6 "2017-07-18T12:29:32Z")

</div>

Glad to hear, and thanks for reporting & for the example 😉

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [August 17, 2017, 10:29pm UTC](https://discuss.bitrise.io/t/access-the-screenshots-from-snapshot/2282/7 "2017-08-17T22:29:47Z")

</div>

Closed on August 17, 2017, 10:29pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
