Forum Discussion

angelodiego's avatar
angelodiego
Occasional Contributor
14 years ago

Passing shared path to slaves

I'd like to pass the value of a shared folder located on the master project pc to the slaves so that I can copy files from it, using the shared folder property of the project doesen't work (I have permission problems with the sharing and I don't want to run testcomplete as administrator and anyway on the slaves the value of sharedpath was always ''), using a Networksuite doesen't work either, it looks like the slave project can't find the NetworkSuite variable.

I created the variable on the master only and the code I execute to run my test is roughly like this:



//master

procedure runtests;

begin

  NetworkSuite.Variables.MySharedPath := '\\' + Sys.HostName + '\FolderName\';


  NetworkSuite.Run(True);


end;



//slave

procedure blah;

begin

  Log.Message(NetworkSuite.Variables.MySharedPath);  <- kaboom

end;



Thanks,

Angelo Diego

1 Reply

  • Hello Angelo Diego,


    I failed to reproduce the network suite variables issue you describe.

    Could you please provide a bit more information on your issue?

    What exactly happens when your test on the slave computer fails? Are any error messages posted to the test log? Could you please post here the full text of those error messages?


    Thanks in advance.