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.

Length of function name

eXeC001ereXeC001er Members
edited January 2011 in Sahi - Open Source
Hi.

I use latest SAHI (sahi_20101103) on Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101227 Iceweasel/3.5.16 (like Firefox/3.5.16).

I have function
function change_admin_root_password ($admin_or_root, $password) {
.....
}

When i run my test with this function i have error: "missing ( before function parameters."

When i change name function from "change_admin_root_password" to "change_admin_root_passwor" (I removed latest letter 'd'), then my test runs without errors.

Who's wrong?

Thanks.

Comments

  • narayannarayan Administrators
    Hi eXeC001er,

    Confirming that this is a Sahi parser bug, which is modifying the "_password" part of "change_admin_root_password" incorrectly. (It should not have modified it)

    Please use change_admin_root_passwd or changeAdminRootPassword till we fix this!

    Thanks,
    Narayan
Sign In or Register to comment.