Forum Discussion
IrisL
13 years agoOccasional Contributor
Dear Curt,
it still won't run, can you help again?
The command line is like:
"C:\Program Files (x86)\Automated QA\TestExecute 8\Bin\TestExecute.exe" "I:\Test\Project_Suite.mds" /r /p:Project /data:"abc" /exit
In the TestComplete Javascript i have this function without an index:
function commandlineargs()
{
data = BuiltIn.ParamStr(3)
Log.Message(data)
}
But by starting the batchfile, this error appears:
The data parameter is just set in an editor:
function Test1(data)
{
//Runs the "notepad" tested application.
TestedApps.notepad.Run(1, true);
//Enters in the 'Edit' object.
Aliases.notepad.wndNotepad.Edit.Keys(data);
}
Where and how do i have to define the parameters?
Thank you,
Iris
it still won't run, can you help again?
The command line is like:
"C:\Program Files (x86)\Automated QA\TestExecute 8\Bin\TestExecute.exe" "I:\Test\Project_Suite.mds" /r /p:Project /data:"abc" /exit
In the TestComplete Javascript i have this function without an index:
function commandlineargs()
{
data = BuiltIn.ParamStr(3)
Log.Message(data)
}
But by starting the batchfile, this error appears:
The data parameter is just set in an editor:
function Test1(data)
{
//Runs the "notepad" tested application.
TestedApps.notepad.Run(1, true);
//Enters in the 'Edit' object.
Aliases.notepad.wndNotepad.Edit.Keys(data);
}
Where and how do i have to define the parameters?
Thank you,
Iris