Forum Discussion
TanyaYatskovska
Alumni
11 years agoHi 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");