Create Snapshot of Element Module

Download and share automation modules and examples.
User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

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.
You do not have the required permissions to view the files attached to this post.

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: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

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

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

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