{"category":{"version":"588861fa165af631008ee1b8","project":"54861bb654b3ce0b00367292","_id":"588861fa165af631008ee1c1","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-12-08T22:54:31.828Z","from_sync":false,"order":8,"slug":"2-personalization","title":"Cases & Dynamic Objects"},"parentDoc":null,"project":"54861bb654b3ce0b00367292","user":"548d74b716fc980b00e2a786","version":{"__v":1,"_id":"588861fa165af631008ee1b8","project":"54861bb654b3ce0b00367292","createdAt":"2017-01-25T08:29:46.061Z","releaseDate":"2017-01-25T08:29:46.061Z","categories":["588861fa165af631008ee1b9","588861fa165af631008ee1ba","588861fa165af631008ee1bb","588861fa165af631008ee1bc","588861fa165af631008ee1bd","588861fa165af631008ee1be","588861fa165af631008ee1bf","588861fa165af631008ee1c0","588861fa165af631008ee1c1","588861fa165af631008ee1c2","588861fa165af631008ee1c3","588861fa165af631008ee1c4","588861fa165af631008ee1c5","588861fa165af631008ee1c6","588861fa165af631008ee1c7","588861fa165af631008ee1c8","588861fa165af631008ee1c9"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"5.0.0","version":"5.0"},"_id":"588861fa165af631008ee200","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-01-14T21:16:04.322Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":60,"body":"In order to learn how a specific state/value affects your UI, take a screenshot and attach it to that state/value. You can view the screenshot in the dashboard.\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Need to reset the snapshot? resnap!\",\n  \"body\": \"If you changed the UI and want to take a snapshot again, just press the image and select \\\"Re-snap\\\" (visit the case/dynamic object and under the image you will be able to see the dropdown).\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/avk1b8rQRGS84HXFDLnV_takeSnapshoot.png\",\n        \"takeSnapshoot.png\",\n        \"288\",\n        \"307\",\n        \"#254151\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"// Case name\\n[ElastiCode takeSnapShot::::at:::\\\"First Button\\\"];\",\n      \"language\": \"objectivec\",\n      \"name\": \"Objective-C\"\n    },\n    {\n      \"code\": \"// Case name\\nElastiCode .takeSnapShot(\\\"First Button\\\")\",\n      \"language\": \"objectivec\",\n      \"name\": \"Swift\"\n    },\n    {\n      \"code\": \"elasticode.takeSnapShot(\\\"First Button\\\")\",\n      \"language\": \"java\",\n      \"name\": \"Java\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"take-snapshot","type":"basic","title":"Take snapshot"}
In order to learn how a specific state/value affects your UI, take a screenshot and attach it to that state/value. You can view the screenshot in the dashboard. [block:callout] { "type": "info", "title": "Need to reset the snapshot? resnap!", "body": "If you changed the UI and want to take a snapshot again, just press the image and select \"Re-snap\" (visit the case/dynamic object and under the image you will be able to see the dropdown)." } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/avk1b8rQRGS84HXFDLnV_takeSnapshoot.png", "takeSnapshoot.png", "288", "307", "#254151", "" ] } ] } [/block] [block:code] { "codes": [ { "code": "// Case name\n[ElastiCode takeSnapShot:@\"First Button\"];", "language": "objectivec", "name": "Objective-C" }, { "code": "// Case name\nElastiCode .takeSnapShot(\"First Button\")", "language": "objectivec", "name": "Swift" }, { "code": "elasticode.takeSnapShot(\"First Button\")", "language": "java", "name": "Java" } ] } [/block]