Compare two snapshots

Ask general questions here.
Posts: 69
Joined: Wed Nov 22, 2017 10:08 am

Compare two snapshots

Post by loonquawl » Fri Oct 12, 2018 8:51 am

I'd like to find the differences between two states of one element. So i took a snapshot of each of the states, and would now like to compare those - I found an old thread (viewtopic.php?f=4&t=9548&p=38433&hilit= ... ots#p38433) Where a code snippet from here ... les/#c7781 is recommended - but i guess it is gone?

Is there a recommended way to do this (my actual goal = finding the defining difference between two element states) not involving snapshots? Is there a tool to compare snapshots?

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

Re: Compare two snapshots

Post by odklizec » Fri Oct 12, 2018 8:58 am


The code snippet is not gone. There was just no exact code snippet comparing two snapshots ;) But it's easily doable using the information from "Advanced validation – entire table" or "Advanced validation – entire table in web". Instead of using repo element, you just need to restore another snapshot. So basically, you need to modify the code to use two snapshots, instead of repo element and snapshot. Hope this helps?
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