Forum Discussion

ecrespo's avatar
ecrespo
Occasional Contributor
14 years ago

Cannot run Application added with TestesdApps.Add

I'm trying to run an application with a location that is machine dependent.

    var FullFileName =  GetProgramPath();

    var AppIndex = TestedApps.Add(FullFileName);

    TestedApps.Items(AppIndex).Run();



The application does not run. I checked the properties of the TestApp Item I'm interested and the incongruent property was FullFileName.

Application FullFileName (as input): C:\(Path To The Application)\(FileName).exe

Item Added FullFileName: E:\(MyProjectPath)\TestedApps\ "(Application FullFileName)"



Anyone knows why is this added? Or how to solve the problem?

1 Reply

  • ecrespo's avatar
    ecrespo
    Occasional Contributor
    The problem was that the full name retrieved from the function was in quotes.

    When the quotes of the string were removed, the problem went away