ContributionsMost RecentMost LikesSolutionsCalling Functions From .NET Assemblies - ArrayHi all! I have a C# method looking like this: public string[] Foo(int a, int b, int c) I would like to call it in TestComplete like this: var t = testCompleteHelper.Foo(0, 0, 0); Log.Message("foo: "+t[0]); For some reason TestComplete says the value is undefied. string, int as return values work perfectly fine for me, but somehow string array doesnt seem to do in TestComplete. I've tried to use it via OleValue, but it did not work either: t[0].OleValue or t.OleValue[0] I would really appreciate any help. Best Regards, AttilaBusy ObjectsHi all, I have prepared a distributed testing however I usually get an error message on the slave computer (in a job when slave and master runs parallel), which says "Unable to perform this action, since the object is busy". What might cause this problem? Best Regards, AttilaRe: Synchronization point is ignoredHi, Even after elimininating the infinite loop, I still could not get it to work. The script is very simple, however the synch point does not seem to be working properly. I have the two functions on different slave computers in the same job defining the sync point in both computer (copying it through the master computer). If you look at the very first post, the NetworkSuite.Synchronize("SPC"); line was before the while loop, but it didnt move on after this line, just wait for tasks being synchronized. The help says after all the tasks (in this example my two functions) gives out the Synchronize instruction then the whole process is supposed to go on. I still dont get why thi simple example is not working. function Calc12onSlaveA() { TestedApps.calc.Run(1, true); NetworkSuite.Synchronize("SPC"); Aliases.calc.wndCalculator.btn1.ClickButton(); Aliases.calc.wndCalculator.btn2.ClickButton(); Delay(2000); } function Calc89onSlaveB() { TestedApps.calc.Run(1, true); NetworkSuite.Synchronize("SPC"); Aliases.calc.wndCalculator.btn8.ClickButton(); Aliases.calc.wndCalculator.btn9.ClickButton(); Delay(2000); } Synchronization point is ignoredHi all! I prepared a VERY simple example regarding Distributed Testing, but it didnt work for some reason (TestComplete 8.6). I have two slaves computer and the tests are concerned about testing Calculator. The test case on Slave 1 (simply press numbers 1 and 2): function Calc12() { //Runs the "calc" tested application. TestedApps.calc.Run(1, true); //Executes the specified code snippet. NetworkSuite.Synchronize("SPC"); while(false == false) { //Clicks the 'btn1' button. Aliases.calc.wndCalculator.btn1.ClickButton(); //Clicks the 'btn2' button. Aliases.calc.wndCalculator.btn2.ClickButton(); //Delays the test execution for the specified time period. Delay(2000); } } The test case on Slave 2 (simply press numbers 8 and 9): function Calc89() { //Runs the "calc" tested application. TestedApps.calc.Run(1, true); //Executes the specified code snippet. NetworkSuite.Synchronize("SPC"); while(false == false) { //Clicks the 'btn8' button. Aliases.calc.wndCalculator.btn8.ClickButton(); //Clicks the 'btn9' button. Aliases.calc.wndCalculator.btn9.ClickButton(); //Delays the test execution for the specified time period. Delay(2000); } } These are two tasks in the same job. I created a synchronization point on both slave computers. I run the job, but after the Calculators start on both slaves, they should wait for each other, but it is like an infinite loop. According to the help, the running from synchronization point shall be continueud after all the tasks reach the synchronization point. In my example both tasks reach these point, however the test doesnt continue, just waiting. What might I do wrong. Actually my purpose is to give a simple example of two slave computers waiting for each other, then continue running. E.g. I want to wait till both Calculators start. Slave1 Slave2 runCalc runCalc wait wait (refers to SPC) doThis doThat Job's tasks cannot be performed on slavesHi all! I have two different jobs on slave computers which consist of different tasks and I call these tasks as keyword tests (run test) in a keyword test. In this case I suppose(?) there is not simultaniously executed tasks, since I run a task from a job instead of running the job. Somehow the test fails in the middle of the whole test when they are on two slaves with the error message of "Cannot perform this operation when the Job1 is running". I havent got this message when they were on master and slave computers. What might the problem be? Regards, Attila