Forum Discussion
Abramova
Staff
14 years agoHi,
You can work with Excel data from tests via its COM server -- Excel.Application. For more information, see Working With Excel Files via COM in the online documentation.
To get the current position of the cursor, you can use the activecell.address property. For example:
function ReadDataFromExcel()
{
var Excel = Sys.OleObject("Excel.Application");
Excel.Workbooks.Open("C:\\MyFile.xls");
Log.Message (Excel.activecell.address)
}