18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

help me in understanding of the mentioned log

VivekVivek Members
edited November -1 in Sahi - Open Source
I am getting following log message:

Sucess rate is 50%
total steps: 2
Errors: 1

Starting script
_click(_link("Admin"));
_click(_link("Schedule")); ReferenceError: event is not defined
clickCheck([object MouseEvent]) at http path to js file and line number
dispatchEvent([object MouseEvent]) at :0
([object HTMLAnchorElement],"mousedown",-19,213,false,undefined) at http....../_s_/spr/concat.js:470
([object HTMLAnchorElement],"mousedown",false) at http path to js file and line number
([object HTMLAnchorElement],false,false) at http path to js file and line number
([object HTMLAnchorElement]) at http:path to js file and line number
("_sahi._click(_sahi._link(\"Schedule\"));") at http..../_s_/dyn/Player_script/script.js:2
("_sahi._click(_sahi._link(\"Schedule\"));") at http...../_s_/dyn/Player_script/script.js:2
() at http...../_s_/spr/concat.js:2281
at http....../_s_/spr/concat.js:2192
Stopping script


what might be the problem??
Every time it stops at 2nd step. Either it is login page or some other page.
Please help.

Regards,
Vivek

Comments

  • johnjohn Members
    Given the first error line
    ReferenceError: event is not defined
    
    It looks like the variable 'event' is not defined but referenced in the script.
  • I think that is the case...have a look at this text from the first message:

    ([object HTMLAnchorElement],"mousedown",-19,213,false,undefined) at http....../_s_/spr/concat.js:470

    the last parameter is undefined which i suppose is the event parameter.

    Regards,
    Pankaj.
Sign In or Register to comment.