Difference between snapshot and screenshot

Ask general questions here.
mbrees86
Posts: 8
Joined: Mon May 13, 2019 8:30 pm

Difference between snapshot and screenshot

Post by mbrees86 » Fri May 24, 2019 3:51 pm

What's the difference between snapshot and screenshot? Is there ever a benefit or use case to use a snapshot?

Thanks!

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 5071
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Difference between snapshot and screenshot

Post by odklizec » Fri May 24, 2019 4:51 pm

Hi,

Snapshot is a complete UI structure of an element (or entire application), stored in xml file. It could be used either for debugging or validation purposes. For an example of using Ranorex snapshot as a validation file, check for example this example code:
https://www.ranorex.com/help/latest/han ... ntiretable

Screenshot is a simple image, which could be used for presentation purposes and image-based actions
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration