Relative Path QC to Run QTP Scripts
I am trying to load an action with some conditions
LoadAndRunAction(TestPath, ActionName, [Iteration], [Parameters]).
I am trying to set the path in QC Where the test scripts are stored. I am using the below Test path, but i get an error expected statment
LoadAndRunAction(QualityCenter]Subject\QTP_COU_Scripts_Prod\Regression\Prod_Bk_AC TIVATION, Prod_Bk_ACTIVATION,  )
Re: Relative Path QC to Run QTP Scripts
try using, "PathFinder.Locate" method, like
LoadAndRunAction(PathFinder.Locate("[QualityCenter]Subject\QTP_COU_Scripts_Prod\Regression\Prod_Bk_AC TIVATION"), Prod_Bk_ACTIVATION,  )