Metamation Developer Notes

  • Developer Notes
  • Resource Map
  • Tools
    • Code Formatting
    • Configuring Git
    • Assignments
    • Testing with Windows Sandbox
    • Single Binary Applications
    • Self-Updating Applications
  • Flux Workflow
    • Flux Workflow
    • Flux Development Style Guide
    • Release notes for Flux
    • SonarCloud analysis for Flux
    • Build a Flux SDK Program
    • Shipping Flux
    • Flux.Test
      • BasicBendAuto Test
      • LaserAuto.cs Detailed Documentation
      • Laserexample:Test1
  • Technical Notes
    • File formats
      • .FX File Format
      • Au(Gold) streams
      • .GEO File Format
      • .LST File Format
      • .LST file - technology
      • .BNC File Format
      • .WAD Files: Flux Resource Packages
      • .Curl Files: ASCII config information
    • Folders App
      • Data\Bendtools
      • Data\Machines
    • FluxCode
      • Welcome & Repo Map
      • Architecture & System Context
      • Subsystem *Bend* (Press Brake)
      • Subsystem *BCell* (Bend Cell Automation)
      • API Maps
      • Data Model Catalog
      • Design Patterns -- A Reader's Guide
      • Tests and Golden Paths
      • Guided Code Tours
      • CAM Glossary with Code Mapping
      • Assignments
      • Flux Onboarding Handbook
    • Data flow
      • Part
        • Part.Dwg
        • Part.Load
        • Part.Load to Part.Dwg
      • BendTech.cs
      • Bend Technology
      • Laser Cutting Technology
    • LTS (Long term support mechanism)
    • Machine ID Scheme
  • FluxTester
    • Commands and Scripts
    • Command Cookbook
    • Script Commands
    • BendTooling.cs Test Inventory
    • LaserTooling.cs Test Steps
    • Fluxtester Recipe Book
    • Nesting.cs Overview
    • Nesting.cs Recipe Book
    • Job.cs Overview
    • Job.cs Recipe Book
  • Software license
  • 3d party software
    • Python
  • Documentation
    • Bento documentation
      • Structure of a Bento page
      • Attributes
    • Software
      • Software Requirement
      • Installation
      • Git workflow for documentation contributors
    • Quick start guide
    • Workflow
      • Roles and responsibilities
      • Analyze
      • Edit
      • Proofread
      • Pre-Publish
      • Publish
      • Release cycle
      • Information required for Documentation Team
      • Checklist for Documenters
    • Styleguide
    • Flavoring
    • Translation
      • Ordering translation for a new document
    • Citations
    • Annotation
FluxTester
/
Commands and Scripts

Commands and Scripts

Overview

Tests are organized by fixture with brief descriptions of purpose and key validations.

Notation: [Test (ID, "Description")] → Test ID and user-facing name.

Commands and scripts

FluxTester works with commands like

`Type("b")`: and scripts  `RunScript("...")`

Commands trigger actions like: Thread.Sleep (1000); Assert.False (FluxCrashed ());

A script can do convenient things like loading parts and assinging a material to it.

var parts = Directory.GetFiles (inputPath).Select (a => Flux.FX.LoadPart (a)).ToList ();
foreach (var part in parts) { if (part.Info.MatlName is "NONE") part.Info.MatlName = "1.0038"; part.DoSwitchToBending ();}

A skript could be executed for testing any time within Flux by the menue: View>scripting console and started by e.g.

#load "C:\mm\TSO\script.cs"

Within a test script calls (RunScript("…​") and RunScriptWithOutput("…​")) are used.

Contents

  • Overview
  • Commands and scripts
FluxTester Command Cookbook

      Copyright © 2025 TRUMPF Metamation. All rights reserved.

    Compiled by Bento