lucky_star
7 years agoOccasional Contributor
Calling C# dll from testcomplete
Hi,
#1. Function in C# is: public static bool check(string _pathFile)
#2. And in TestComplete:
var pathFile = "D\\testFile.html";
var res = dotNET["dllName"]["TestHandler"]["check"](pathFile);
But the parameter won't work. Appreciate your early help.
Please read this article
From your example I can see that you miss at least either a namespace or class names. Unfortunately, I don't have a .NET app here to make a better example.