Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

Why I get this Error message? help

Cannot set property "hasError" of undefined to "true"

_include("smartFunctions.sah");
logInFn($username,$password);

**function from smartFunctions file***

function logInFn($username, $password){
_setValue(_textbox("com.smartstartinc.clientportal.DEV:id/email_edit_text"),$username);
_click(_textbox("com.smartstartinc.clientportal.DEV:id/password_edit_text"));
_setValue(_textbox("com.smartstartinc.clientportal.DEV:id/password_edit_text"),$password);
_click(_button("com.smartstartinc.clientportal.DEV:id/login_button"));
}

values are imported from a scenario CSV file. which include loginFn with username and password

Login passes everything seems to be fine but then, in the end, I get an error report. Why?

Answers

Sign In or Register to comment.