TestSequenceForLV 2.0.3

dotnet add package TestSequenceForLV --version 2.0.3                
NuGet\Install-Package TestSequenceForLV -Version 2.0.3                
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.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TestSequenceForLV --version 2.0.3                
#r "nuget: TestSequenceForLV, 2.0.3"                
#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.3

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

TestSequenceForLV

Demonstrate how to use Patrick Test Sequence Management v2.0.3

Also for LabVIEW use

Updated version which has some significant changes:

  1. Program and TestSequences now have been changed to be able to order the subsidiaries, because when testing, the order matters
  2. More multilang are supported
  3. Use newly developed GeneralInstaller to replace old Test_v2.Installer to install

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:

  1. CSVMultilang
  2. GeneralSQLiteView

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 GeneralInstaller.exe with Administrator privilege. So TestSequenceForLV.dll can work, so does the LabVIEW application

for more info, please refer to PatrickTestSequence_v2.docx under sub folder 'docs'

Author

Patrick Gamp

Published date

January 23, 2024

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,768 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

updated to v2.0.3