sometimes, I would like to scan through an object element tree for certain element, and then trying to create a snapshot file (*.rxnp) file using script, is there any function I can use to create such a file?
thanks a lot
I am using Ranorex 2.3.2
Class library usage, coding and language questions.
3 posts • Page 1 of 1
Got this snippet from support a few months ago:
Code: Select all
Ranorex.Core.ElementSnapshot snap = Ranorex.Core.ElementSnapshot.Capture(element, true); System.IO.File.WriteAllText("fileName.rxsnp", snap.SerializeXml());
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!