Is there a way to compare two snapshots and find out the differences between the two?
Thanks in advance.
Compare two snapshots
Re: Compare two snapshots
Hi,
I guess you want to compare the snapshots from code, right? The best place to start with this is this code sample:
http://www.ranorex.com/support/user-gui ... html#c7781
This sample shows comparison of table with table stored in snapshot. I think you can easily modify the code to replace reference table element with another snapshot?
The requirement is to have both snapshots uncompressed! By default, Ranorex saves snapshots in compressed (zip) format. So you have to unpack them first or to create uncompressed snapshots (either via spy or from code).
I guess you want to compare the snapshots from code, right? The best place to start with this is this code sample:
http://www.ranorex.com/support/user-gui ... html#c7781
This sample shows comparison of table with table stored in snapshot. I think you can easily modify the code to replace reference table element with another snapshot?
The requirement is to have both snapshots uncompressed! By default, Ranorex saves snapshots in compressed (zip) format. So you have to unpack them first or to create uncompressed snapshots (either via spy or from code).
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
Re: Compare two snapshots
Thanks odklizec.
I was hoping Ranorex had a tool that simply list the differences between two snapshot. I am having a hard time trying to manually figure out what changes are occurring before and after an action on an app. But, I can do it via code with the information you provide.
Thanks again.
I was hoping Ranorex had a tool that simply list the differences between two snapshot. I am having a hard time trying to manually figure out what changes are occurring before and after an action on an app. But, I can do it via code with the information you provide.
Thanks again.