NOTICE: Branded Content
NOTICE: 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.
Application Perf Mgmt (BAC / BSM) User Discussions
cancel

BSM Monitoring - Error only when BSM tries to connect

Highlighted
ravindran0154
New Member.

BSM Monitoring - Error only when BSM tries to connect

Hello,

 

I have an applicaiton which is BSM monitored . i am getting below errors when BSM tries to connect via script. But when we try normally/manually - i do do not get any prompt/issues. Any clue?

 

BSM Log

 

Error Example of Error
Message
Error
occurrences
Transactions/Total Locations/Total
Script
failed to
start
Transaction not run.
Task failed to start
running.
4 in 700
measurements 2 of 2 1 of 4
The
expected
window is
not
displayed.
Action.c(345): Error:
ctrx_mouse_click(50,
112, 1, 0) failed. The
window does not
exist. [MsgId:
MERR-91999]
1 in 700
measurements 1 of 2 1 of 4
Error

 

 

1 REPLY
Silentkiller Respected Contributor.
Respected Contributor.

Re: BSM Monitoring - Error only when BSM tries to connect

Hi,

I believe you are running citrix script.

And from code it seems that BSM is unable to identify the window.

Hence instead of using ctrx_mouse_click,use ctrx_win_exist.

Ctrx_mouse_click depends on pixels where you clicked mouse during recording(which can change) whereas ctrx_win_exist checks window title name which is reliable.

Check https://admhelp.microfocus.com/lr/en/12.55/help/function_reference/Content/FuncRef/citrix_ica/lrFuncRef_ctrx_win_exist.htm for more details