Download and share automation modules and examples.
-
Support Team
- Site Admin

- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Post
by Support Team » Thu Jul 28, 2011 2:38 pm
Use this module at any position within your test suite to create a Ranorex Snapshot file of the desired system under test. This is especially useful to analyze the state of the application under test later on.
Usage:
- Download the "CreateSnapshotOfElement.cs" file to your computer and import it into your project by right-clicking your project in Ranorex Studio and choose "Add" -> "Existing Item..."
- Drag & Drop the module to your test case and define the variables by binding them to a parameter in your test case
Variables:
SnapshotName
The name of the Ranorex Snapshot file.
ElementPath
The RanoreXPath of the desired system under test.
-
Attachments
-
- CreateSnapshotOfElement.cs
- Create Snapshot of Element Module
- (2.84 KiB) Downloaded 802 times
.

-
christof
- Posts: 19
- Joined: Thu Feb 18, 2010 10:58 am
Post
by christof » Mon Oct 31, 2011 12:45 pm
This is good. Especially if you only have the runtime on the machine you want to grab the snapshot from.
Thanks. Very useful.
-
Support Team
- Site Admin

- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Post
by Support Team » Mon Oct 31, 2011 12:50 pm
Hi,
Especially for this purpose I've added this module. Thank you for your feedback.
Regards,
Peter
Ranorex Team
.

-
Support Team
- Site Admin

- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Post
by Support Team » Mon Jun 04, 2012 10:57 am
With the new release Ranorex 3.3.0, the Report class now also supports the functionality to create a snapshot and link to it in the generated report. See the documentation for the
Report.Snapshot method.
Regards,
Alex
Ranorex Team
.
