TestSequenceForLV 2.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package TestSequenceForLV --version 2.0.1                
NuGet\Install-Package TestSequenceForLV -Version 2.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TestSequenceForLV" Version="2.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TestSequenceForLV --version 2.0.1                
#r "nuget: TestSequenceForLV, 2.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TestSequenceForLV as a Cake Addin
#addin nuget:?package=TestSequenceForLV&version=2.0.1

// Install TestSequenceForLV as a Cake Tool
#tool nuget:?package=TestSequenceForLV&version=2.0.1                

TestSequenceForLV

Demonstrate how to use Patrick Test Sequence Management v2

Also for LabVIEW use

This library is written in .Net Framework 4.8, built as for x86 platform. It is for general purpose to manage test sequences and test steps.

About the test structure, commonly described like in NI Test Stand, we have the simplified version as in attached Word document.

A LabVIEW version provided in this package. The source code of LabVIEW project is provided, which demonstrates how to use this library (TestSequenceForLV.dll).

Also, the unit test source code of C# is provided too.

To use this free library, the prerequisite is to install the not-free Patrick Test Sequence Management v2 which consists of 3 parts, the low level data COM, the high level UI COM, and a WPF application.

The data COM component export interfaces like below:

  1. OpenDatabaseAndTables
  2. Close
  3. ClearAllData
  4. SetDefaultProgram
  5. GetTableName
  6. GetSQLToCreateTable
  7. ReadColumns
  8. Insert
  9. Update
  10. InsertOrUpdate
  11. CheckIfCanInsert
  12. CheckIfCanUpdte
  13. DeleteSingle
  14. RetrieveSingle
  15. RetrieveMultiple
  16. RetrieveByPage
  17. GetRecordCount
  18. RetrieveById
  19. RetrieveByName
  20. ReadOutAllPrograms
  21. ReadAllData
  22. ExportAllResourcesToCsvFile
  23. ExportAllActionsToCsvFile
  24. ImportAllActionsFromCsvFile
  25. ExportAllTestsDataToXmlFile
  26. ImportAllTestsDataFromXmlFile

The UI COM component exports below interfaces:

  1. Initialize
  2. CreateUIByEnum
  3. GetTestsCom_v2
  4. SwitchToLanguage
  5. SwitchProgramOfProgramTreeViewer(object treeObject, string programName);

The WPF application will be installed to Program Files x86 folder. If you type “Tests_v2.WpfManager.exe” in Windows Run dialog and press Enter key, the application will be launched.

Everything are literally to what the caption says, you can operate programs (most top level Test Sequence), test sequences and/or test steps.

This application takes advantages of other 2 NuGET packages:

CSVMultilang

GeneralSQLiteView

Note: the multilang support is incomplete, just the main UI has Chinese and English 2 version.

The LabVIEW project with source code just have a very simple example as below:

Remember: you should unpack the zip file under ‘install’ and run Test_v2_install.exe with Administrator privilege. So TestSequenceForLV.dll can work, so does the LabVIEW application

Author

Patrick Gamp

Published date

December 3, 2023

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.3 1,761 1/23/2024
2.0.2 1,360 12/27/2023
2.0.1 1,569 12/3/2023
2.0.0 1,517 12/3/2023

initial commit.