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.

Reference Error: soundManager is not defined

shreyshrey Members
edited November -1 in Sahi - Open Source
Sahi Pro 4.0 Version : 4.0 Build : 2011-11-29
Browser : Google Chrome , Version: 5.0 (X11; Linux x86_64)
OS: Linux , Version : 2.6.32-28-generic , Architecture : amd64
Hi ,

_wait(100000,soundManager.getSoundById('__smobj___' + __curr_vid + '___' + __curr_vid_slide[__curr_vid]).playState==0);


Was working properly and waits till the mp3 speech gets over but in the newer version sahi 4.0
it is giving error like

ERROR [95 ms]
ReferenceError: "soundManager" is not defined.

how to deal with issue...

thanks

Comments

  • Hi shrey,

    Use the below:

    _wait(100000,_call(soundManager.getSoundById('__smobj___' + __curr_vid + '___' + __curr_vid_slide[__curr_vid]).playState==0));

    Check if this solves your issue.

    Regards
    Sumitra
Sign In or Register to comment.