12 years ago
Unable to pass object to Script Routine
Hi all,
My name mapping string is some thing like "XXX...Form("yyy").Table(5).Cell(0,0)..."
I'm trying to pass this object to my script routine through Onscreen Object parameter type.
But when I'm running the script, I get the following error, even before entering the function (I checked it by putting a breakpoint on first statement):
"You are trying to call the cell method or property of the following name mapping object. Name mapping object: "table" "
I think while executing the script routine, the testcomplete engine tries to evaluate the parameters, and in doing so, it considers table() or cell() as methods. Is there any way by which I can pass the object in the script function?
My name mapping string is some thing like "XXX...Form("yyy").Table(5).Cell(0,0)..."
I'm trying to pass this object to my script routine through Onscreen Object parameter type.
But when I'm running the script, I get the following error, even before entering the function (I checked it by putting a breakpoint on first statement):
"You are trying to call the cell method or property of the following name mapping object. Name mapping object: "table" "
I think while executing the script routine, the testcomplete engine tries to evaluate the parameters, and in doing so, it considers table() or cell() as methods. Is there any way by which I can pass the object in the script function?