Forum Discussion
TanyaYatskovska
10 years agoSmartBear Alumni (Retired)
Hi Srini,
You can use the Project.Path property to get TestComplete's current project. Here is an example:
var Excel =Sys.OleObject("Excel.Application");
Excel.Workbooks.Open(Project.Path + "\\TestExecute.xlsx");
You can use the Project.Path property to get TestComplete's current project. Here is an example:
var Excel =Sys.OleObject("Excel.Application");
Excel.Workbooks.Open(Project.Path + "\\TestExecute.xlsx");