Create Snapshot of Element Module

Download and share automation modules and examples.
User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Create Snapshot of Element Module

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:
  1. 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..."
  2. 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 765 times
.
Image

christof
Posts: 19
Joined: Thu Feb 18, 2010 10:58 am

Re: Create Snapshot of Element Module

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Create Snapshot of Element Module

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
.
Image

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Create Snapshot of Element Module

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
.
Image