Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use PsDotNet automation components in QM
#2
example

Macro Scripting C#, PsDotNet
Code:
Copy      Help
str R=CsFunc("" "test" 5)
out R


#ret
//C# code
using System;
using PsDotNet;

public class Test
{
public static int TestFunction(string s, int i)
{
,PsConnection.StartAndConnect();
,//...
,return 1;
}

//add private functions here if need
}
PsDotNet.dll must be in QM folder or in .exe folder.


Messages In This Thread
RE: How to use PsDotNet automation components in QM - by Gintaras - 07-10-2018, 07:53 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)