SanM
8 years agoOccasional Contributor
How can we implement a keyword driven automation framework in test complete for Desktop application?
I am trying to implement a keyword driven framework using test complete, and can anyone help me as to how to go about it , and what approach should i take to achieve this.
See Excel Object, and it will be something similar to this
function PatientDetails() { // Get the sheet of the Excel file var excelFile = Excel.Open("C:\\Temp\\PatientDetails.xlsx"); var excelSheet = excelFile.SheetByTitle("Sheet1"); // Write the obtained data into a new row of the file var rowIndex = excelSheet.RowCount + 1; excelSheet.Cell("A", rowIndex).Value = // GetPatientID; excelSheet.Cell("B", rowIndex).Value = // GetPatientName; excelSheet.Cell("C", rowIndex).Value = // GetPatientDOB; excelFile.Save(); }