Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, windows and java based applications. Get your 30 day free trial.

Discuss your Sahi Pro usage patterns, best practices, problems and solutions. Help others solve their problems and seek help from the community when needed. If you need specific support on your application, please email support @ sahipro.com

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?

Best Answer

This discussion has been closed.