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.

[bug][/* */ comment]

zawistolzawistol Members
edited November -1 in Sahi - Open Source
Hi,
Please check following code
/* _click(_button("test"));
_click(_button("test2")); */

It produces following error
JSERROR
missing ; before statement at Aug 6, 2010 10:29:49 AM

Please change it to
// _click(_button("test"));
// _click(_button("test2"));

Any works fine !


I am using sahi 20100321.

Comments

  • Manas TareManas Tare Members
    edited August 2010
    Seems like a bug, I have also experienced the same problem...

    Workaround is

    /* _click(_button("test"));
    _click(_button("test2"));
    */

    or

    /*
    _click(_button("test"));
    _click(_button("test2"));
    */
  • Works for me, too thanks.
    Lech
Sign In or Register to comment.