Highlighted
Trusted Contributor.
Trusted Contributor.
602 views

TruClient FireFox Does Not Paint Screen in Interactive Mode

I recorded a TruClient FireFox script using VuGen 12.02 on Windows 7.

 

When the script replays in interactive mode, a FireFox window displays that has Profile Customization (not responding) in the title bar, but the rest of the window remains blank. After a few minutes, the window goes away and the script is displayed again in interactive mode.

 

I tried running the script again in load mode, using the PaintWindowsInLoad=1 setting in default.cfg. This paints the screen fine. But it is not helpful to develop  in this manner, as I am encountering an error with object identification and need the interactive mode to improve that.

 

I've tried re-installing VuGen, tried running as Administrator, tried to start a new script, and tried a TruClient IE script and none of these has helped.

 

Any ideas on why the screen won't paint in interactive mode?

0 Likes
3 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: TruClient FireFox Does Not Paint Screen in Interactive Mode

Sounds like a configuration issue related to your machine. Do you enounter it on other machines?

 

Can you please open the browser in interactive mode, wait until you can interact with it and then...

 

Click CTRL+SHIFT+J to open the browser console. Copy the data and paste it in your reply

Click CTRL+SHIFT+A to open addons page. Take a screensot of extensions tab and plugins tab and share it here as well.

 

Maybe there is another extension installed on your machine which collides with TruClient. I would like to double check that

0 Likes
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: TruClient FireFox Does Not Paint Screen in Interactive Mode

see text from CTRL-SHIFT-J below:

 

Could not read chrome manifest 'file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/Firefox/chrome.manifest'.
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create Preferences.jsm:378
Could not read chrome manifest 'file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/bin/Firefox/browser/extensions/%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D/chrome.manifest'.
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create Preferences.jsm:544
NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsICategoryManager.addCategoryEntry] useragent.js:58
PAC file installed from http://proxy1d.mycompany.com/accelerated_pac_base.pac
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create StdClassesFF.js:6
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create ArgsContext.js:21
Use of getAttributeNode() is deprecated. Use getAttribute() instead. jquery-1.4.2.js:1504
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create ArgsContext.js:21
TypeError: Object.isString is not a function prototype.js:1824
mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create ArgsContext.js:21
Error: Illegal port: 0
TCWebSocket@chrome://truclientrre/content/communicator/TCWebSocket.js:32:4
ConsumerHandler.prototype.connect@chrome://truclientrre/content/communicator/Communicator.js:313:5
ConsumerHandler@chrome://truclientrre/content/communicator/Communicator.js:170:3
IPCCommunicator.prototype.addConsumer@chrome://truclientrre/content/communicator/Communicator.js:423:4
InitLrCommunicator.startConnection@chrome://truclientext/content/InitLrCommunication.js:88:4
@Chrome://truclientext/content/InitLrCommunication.js:99:3
window.RuleEngine.dispatch@chrome://truclientrre/content/infra/RuleEngine.js:111:11
window.Event@chrome://truclientrre/content/infra/Event.js:13:20
.dispatch@chrome://truclientrre/content/infra/Event.js:24:4
window.Script.start@chrome://truclientrre/content/model/Script.js:132:5
ScriptController.prototype.replay@chrome://truclientui/content/ui/ScriptController.js:654:4
ScriptController.prototype.stateEditing.signalEvent/<@chrome://truclientui/content/ui/ScriptController.js:1395:11
handler@chrome://truclientrre/content/infra/Query.js:51:4
window.RuleEngine.dispatch@chrome://truclientrre/content/infra/RuleEngine.js:111:11
window.Event@chrome://truclientrre/content/infra/Event.js:13:20
.dispatch@chrome://truclientrre/content/infra/Event.js:24:4
xlrVugenCommunicator._RespondMsgFromVugen@file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/dat/LrWeb2MasterProfile/extensions/TruClient@hp.com/components/xlrVugenCommunicator.js:353:7
xlrVugenCommunicator._SendMessageToVugen@file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/dat/LrWeb2MasterProfile/extensions/TruClient@hp.com/components/xlrVugenCommunicator.js:267:3
xlrVugenCommunicator.handleEvent@file:///C:/Program%20Files%20(x86)/HP/Virtual%20User%20Generator/dat/LrWeb2MasterProfile/extensions/TruClient@hp.com/components/xlrVugenCommunicator.js:239:4
window.RuleEngine.dispatch@chrome://truclientrre/content/infra/RuleEngine.js:111:11
window.Event@chrome://truclientrre/content/infra/Event.js:13:20
.dispatch@chrome://truclientrre/content/infra/Event.js:24:4
ScriptController.prototype.stateEditing.signalEvent@chrome://truclientui/content/ui/ScriptController.js:1474:8
StateMachine.prototype._signalEvent@chrome://truclientui/content/ui/StateMachine.js:20:8
StateMachine.prototype.signalEvent@chrome://truclientui/content/ui/StateMachine.js:46:4
.bind/retFunc@chrome://truclientrre/content/infra/StdClasses.js:43:17
window.RuleEngine.dispatch@chrome://truclientrre/content/infra/RuleEngine.js:111:11
window.Event@chrome://truclientrre/content/infra/Event.js:13:20
.dispatch@chrome://truclientrre/content/infra/Event.js:24:4
ScriptController.prototype.stateEditing.signalEvent@chrome://truclientui/content/ui/ScriptController.js:1399:8
StateMachine.prototype._signalEvent@chrome://truclientui/content/ui/StateMachine.js:20:8
StateMachine.prototype.signalEvent@chrome://truclientui/content/ui/StateMachine.js:46:4
.bind/retFunc@chrome://truclientrre/content/infra/StdClasses.js:43:17
window.RuleEngine.dispatch@chrome://truclientrre/content/infra/RuleEngine.js:111:11
window.Event@chrome://truclientrre/content/infra/Event.js:13:20
Control/self.click<@chrome://truclientui/content/ui/ViewModel/Control/Control.js:23:4
window.viewUtils.createBarInnerDropdown/<.click@chrome://truclientui/content/ui/ViewUtils.js:155:7
.click@chrome://truclientui/content/ui/jbutton.js:89:4
.bind/retFunc@chrome://truclientrre/content/infra/StdClasses.js:43:17
jQuery.event.handle@chrome://truclientui/content/ui/js/jquery-1.4.2.js:1936:10
jQuery.event.add/eventHandle@chrome://truclientui/content/ui/js/jquery-1.4.2.js:1599:1

While calling handlers in RuleEngine dispatch, event=[Event type="TC.startInteractiveReplay" target="[object Object]"], handler=

function () {
"use strict";


  InitLrCommunicator.startConnection();

 }
Key event not available on some keyboard layouts: key="b" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="v" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="o" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="g" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="f" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="z" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="e" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="a" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="s" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="d" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="t" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="x" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="r" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="h" modifiers="alt control" browser.xul
Key event not available on some keyboard layouts: key="m" modifiers="alt control" browser.xul

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: TruClient FireFox Does Not Paint Screen in Interactive Mode

Hi,

 

Last time I have seen this error message  (Error: Illegal port: 0) a restart of the computer solved it.

 

Close TruClient browser and VuGen. Check task manager and kill any orphan mdrv process that is running there. Try running the TC script again.  If the issue is not resolved please restart the machine.

 

If the issue is not resolved please report a ticket to HP support. 

 

By the way, the issue is that the browser launches mdrv.exe process yet fails to communicate with it since mdrv process fails to allocate port for the communication. 

  

Regards,

Shlomi

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.