ContributionsMost RecentMost LikesSolutionsRe: TestComplete 8. Activation.I am facing following problem, Error code: hasp_act_activate, 3513 while installing TC8.0 demo version. pls find attached image. SwapnilWant to restart testcomplete 6.52 using script while execution is going onHi I want torestart testcomplete 6.52 from script environment while execution is going on and want to resume execution from the next point. Is it possible? Last option is using batch file but it is not so feasible in my case. Thanks in advance Swapnil Daphal.Accessing testcomplete settings via script/COMHello, I want to set/unset testcomplete settings at run time(dynamically) via scripts. I want tocheck/uncheck check boxforMSAA settings It is located at following place Tools | Default Project Properties|MSAA I amusing it for pdf related verifications . Thanks in advance. ~Swapnil. Re: Date FunctionsLike Datediff function in VB script Is there any method in Jscript/C# Script/any of the Testcomplete utility I want to calculate difference in terms of days by passing two dates in any standard format I am using testcomplete 6.5 enterprise edition. one workaround is var t= aqConvert["TimeIntervalToStr"](aqDateTime["TimeInterval"]("21.01.2009", "23.01.2009")) ~SwapnilRe: calling dllThanks Alex ,got the correct way for accessing dll. ~ SwapnilRe: calling dllHello, I am accessing dll named "TestComplete_Related_Lib" using 2different ways ,second way is not working Dll contains 2 method coded in C#.net int ShowMsg(int,int) string Heloo() Here is the code inside dll namespace TestComplete_Related_Lib { public class Class1 { public int ShowMsg(int num1,int num2) { int no1=num1; int no2=num2; return no1 + no2; } public string Heloo() { return "Hello"; } } } Way1 which works Calling Functions From .NET Assemblies >> temp=dotNET.TestComplete_Related_Lib.Class1.zctor() var result=temp.ShowMsg(1,2); //returns correct addition as 3 Log.Message(result) var result1=temp.Heloo().OleValue; //returns correct string as "Hello" ********************************************************************************* Way 2 which doesn't work following is the code : var Def_DLL, Def_DrawTextParams, Def_Rect,Def_Proc; Def_DLL = DLL.DefineDLL("TestComplete_Related_Lib"); Def_Rect = DLL.DefineType("RECT",vt_i4, "num1", vt_i4, "num2") //Def_DLL.DefineAlias("ShowMsg", "ShowMsgA") Def_Proc = Def_DLL.DefineProc("ShowMsg",vt_i4); r = DLL.New("RECT"); r.num1=4; r.num2=5; var path="C:\\Documents and Settings\\daphaswa\\My Documents\\Visual Studio 2008\\Projects\\TestComplete_Related_Lib\\TestComplete_Related_Lib\\bin\\Debug\\TestComplete_Related_Lib.dll" Lib= DLL.Load(path,"TestComplete_Related_Lib") //var n1=4,n2=5; //var temp= Lib.ShowMsg(n1,n2); var addition= Lib.ShowMsg(r.num1,r.num2); In debug mode object Lib shows it has method ShowMsg but later on it gives error as <The function ShowMsg was not found in the TestComplete_Related_Lib.dll library.> Am I missing any statement?I have refered help topic "Calling Routines Located in Dynamic Link Libraries From Scripts" I am using TC6.5 enterprise edition. Re: Structure of a binary file written down by the TestRecorderI am using TestRecorder 8 demo version with Testcomplete 6.5 Enterprise edition.I am not able to import the recorded file using File | Import | TestRecorder Data | following error message pops up when i try to import. Unable to create aroutine from the file .The file is corrupted. (message is also attached ) Is this a compatibility issue? I am using Windows XP Service Pack 3 Is there any video demo available explaining TestRecorder 8 usage Re: Protecting .SCS files in testcomplete.Hi Alex, Thanks for the suggestion but I would like elaborate my doubt further What Irequire isTestExecute licens holder should not be allowed to open .scs files.Butthis user have allTestcomplete projects present locally on his machine for execution purpose and so can access scs files easily. We dont want to exposesome important key utility files. We are using VSTS for managing our code base, we have put checkin /check out restrictions to desired userbut this provides restriction on check in/out level and I am thinking about making my .SCS files private. Currently I am trying to understand and use "Connected Application " concept suggested by Jared. Regards, SwapnilProtecting .SCS files in testcomplete.Scenario We haveautomated some scripts using testcomplete and now we are handling over those script to QA's who are having TestExecute licensesonly, for execution purpose. Problem We want to restrict the access to .SCS files for QA's who are having TestExecute licenses.This to avoid any code change in script file.If this user changes anything then there can be problemwhile handlingthese project to some other person. Questions Can we make those .scs files read only ? Can we give restricted access to testcomplete projects ? Can we compile .SCS file in to something like .dll or .exe like visual studio does.? Regards, Swapnil.Re: Testcomplete hangs while using function SendMAPIMail()One more question. I want to execute some script as soon as testcomplete starts(whenever i open it using double clk/single clk). Is there any facility in Testcomplete which will allow me to run the script on startup?