Forum Discussion
okpo_ekpenyong
12 years agoNew Contributor
Hello Gena,
Thanks for your interest in helping. Here is the full code snippet:
function Main()
{
var orders, mainForm, orderForm, groupBox, dataDriver;
dataDriver = DDT.ExcelDriver("C:\Users\Public\Documents\MyTestCompleteFiles
\Data-Driven Testing\DD_Book.xlsx", "DD_Sheet", true);
TestedApps.RunAll();
orders = Aliases.Orders;
mainForm = orders.MainForm;
Please find attached also, the error message. Just in case you can't view the error log, here it is:
JScript runtime error.
The Excel worksheet "C:UsersPublicDocumentsMyTestCompleteFilesData-Driven TestingDD_Book.xlsx" does not exist.
Error location:
Unit: "DDTSuite\DDT_JScript\Script\JScript"
Line: 73 Column: 3.
Best regards,
Okpo.
Thanks for your interest in helping. Here is the full code snippet:
function Main()
{
var orders, mainForm, orderForm, groupBox, dataDriver;
dataDriver = DDT.ExcelDriver("C:\Users\Public\Documents\MyTestCompleteFiles
\Data-Driven Testing\DD_Book.xlsx", "DD_Sheet", true);
TestedApps.RunAll();
orders = Aliases.Orders;
mainForm = orders.MainForm;
Please find attached also, the error message. Just in case you can't view the error log, here it is:
JScript runtime error.
The Excel worksheet "C:UsersPublicDocumentsMyTestCompleteFilesData-Driven TestingDD_Book.xlsx" does not exist.
Error location:
Unit: "DDTSuite\DDT_JScript\Script\JScript"
Line: 73 Column: 3.
Best regards,
Okpo.