Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

How to fix corrupted TruClient Web - IE script

$
0
0

Hi There,

 

I am using LR VuGen v12.50 TruClient Web - IE protocol to create a script. After running the script a few iterations with the TruClient Browser, the browser was hung, I had to kill the TcWebIELauncher.exe process to stop the script running. But then when I re-launched the TruClient Browser it says 'Load failed' and nothing was displayed in the browser. I closed the TruClient Browser and ran the script on VuGen itself, the following error is returned.

 

The script seems to be corrupted. Does anyone know how to fix this by looking at this error? I really don't want to rescipt the transaction as it's a lengthy and complicated transaction.

 

Thanks!

 

 

t=00001276ms: Error -205177: APIError: Unknown_Error error number:0
undefined
Exception in ScriptLocalPersistence addin - readScript Snapshot Info [MSH undefined 0] [MsgId: MERR-205177]
t=00001277ms: Error -205177: TypeError: Unable to get property 'Handlers' of undefined or null reference
undefined
While calling handlers in TC_NS.RuleEngine dispatch, event=[TC_NS.Event type="TC.startRunLogic" target="[object Object]"], handler=
function() {
var steps = TC_NS.find("xpath:step[@type='handler' and ]", TC_NS.Step.sections["Handlers"]);
for (var i = 0; i < steps.length; i++) {
if (!steps[i].disabled) {
startedGlobalEventHandlers.push(steps[i]);
steps[i].start(null, false, true);
}
}
} Snapshot Info [MSH undefined 0] [MsgId: MERR-205177]
t=00001284ms: Error -205177: Action step:Init Blockdoes not exist in the script
undefined
While calling handlers in TC_NS.RuleEngine dispatch, event=[TC_NS.Event type="TC.runTopBlock" target="[object Object]"], handler=
function (e) {
var runlogicStep = TC_NS.find("xpath:descendant::step[@type='runLogic']", TC_NS.Step.steps);
var actionStep = TC_NS.find("xpath:child::step[@action='" + e.actionName + "']", runlogicStep)[0];
if (!actionStep)
throw "Action step:" + e.actionName + "does not exist in the script";

TC_NS.Query(actionStep).addOnetimeEventListener("step/end", function (endE) {
// Set parameters from TC.endTopBlock
var event_args = { actionName: e.actionName };
Object.extendWithoutOverwrite(event_args, endE);
TC_NS.Event.dispatch("TC.endTopBlock", {}, event_args);
});
setTimeout(function () {
actionStep.start();
}, 0);
} Snapshot Info [MSH undefined 0] [MsgId: MERR-205177]


Viewing all articles
Browse latest Browse all 3978

Trending Articles