18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
Unable to compare two values using assertEqual code.
Hi,
When execute below code
_assertEqual($firstname+" "+$lastname,_getSelectedText(_select("ctl00\$cphPage\$lstNames")));
Out put in log:
_assertEqual("", _getSelectedText(_select("ctl00\$cphPage\$lstNames")));
Assertion Failed.
Expected:[]
Actual:[undefined] at Feb 13, 2012 2:58:36 PM
Please help
regards,
mohit
When execute below code
_assertEqual($firstname+" "+$lastname,_getSelectedText(_select("ctl00\$cphPage\$lstNames")));
Out put in log:
_assertEqual("", _getSelectedText(_select("ctl00\$cphPage\$lstNames")));
Assertion Failed.
Expected:[]
Actual:[undefined] at Feb 13, 2012 2:58:36 PM
Please help
regards,
mohit